/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.quicksight.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The configuration for a TableVisual
.
*
* The field wells of the visual. *
*/ private TableFieldWells fieldWells; /** *
* The sort configuration for a TableVisual
.
*
* The table options for a table visual. *
*/ private TableOptions tableOptions; /** ** The total options for a table visual. *
*/ private TotalOptions totalOptions; /** ** The field options for a table visual. *
*/ private TableFieldOptions fieldOptions; /** ** The paginated report options for a table visual. *
*/ private TablePaginatedReportOptions paginatedReportOptions; /** ** A collection of inline visualizations to display within a chart. *
*/ private java.util.List* The field wells of the visual. *
* * @param fieldWells * The field wells of the visual. */ public void setFieldWells(TableFieldWells fieldWells) { this.fieldWells = fieldWells; } /** ** The field wells of the visual. *
* * @return The field wells of the visual. */ public TableFieldWells getFieldWells() { return this.fieldWells; } /** ** The field wells of the visual. *
* * @param fieldWells * The field wells of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public TableConfiguration withFieldWells(TableFieldWells fieldWells) { setFieldWells(fieldWells); return this; } /** *
* The sort configuration for a TableVisual
.
*
TableVisual
.
*/
public void setSortConfiguration(TableSortConfiguration sortConfiguration) {
this.sortConfiguration = sortConfiguration;
}
/**
*
* The sort configuration for a TableVisual
.
*
TableVisual
.
*/
public TableSortConfiguration getSortConfiguration() {
return this.sortConfiguration;
}
/**
*
* The sort configuration for a TableVisual
.
*
TableVisual
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TableConfiguration withSortConfiguration(TableSortConfiguration sortConfiguration) {
setSortConfiguration(sortConfiguration);
return this;
}
/**
* * The table options for a table visual. *
* * @param tableOptions * The table options for a table visual. */ public void setTableOptions(TableOptions tableOptions) { this.tableOptions = tableOptions; } /** ** The table options for a table visual. *
* * @return The table options for a table visual. */ public TableOptions getTableOptions() { return this.tableOptions; } /** ** The table options for a table visual. *
* * @param tableOptions * The table options for a table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public TableConfiguration withTableOptions(TableOptions tableOptions) { setTableOptions(tableOptions); return this; } /** ** The total options for a table visual. *
* * @param totalOptions * The total options for a table visual. */ public void setTotalOptions(TotalOptions totalOptions) { this.totalOptions = totalOptions; } /** ** The total options for a table visual. *
* * @return The total options for a table visual. */ public TotalOptions getTotalOptions() { return this.totalOptions; } /** ** The total options for a table visual. *
* * @param totalOptions * The total options for a table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public TableConfiguration withTotalOptions(TotalOptions totalOptions) { setTotalOptions(totalOptions); return this; } /** ** The field options for a table visual. *
* * @param fieldOptions * The field options for a table visual. */ public void setFieldOptions(TableFieldOptions fieldOptions) { this.fieldOptions = fieldOptions; } /** ** The field options for a table visual. *
* * @return The field options for a table visual. */ public TableFieldOptions getFieldOptions() { return this.fieldOptions; } /** ** The field options for a table visual. *
* * @param fieldOptions * The field options for a table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public TableConfiguration withFieldOptions(TableFieldOptions fieldOptions) { setFieldOptions(fieldOptions); return this; } /** ** The paginated report options for a table visual. *
* * @param paginatedReportOptions * The paginated report options for a table visual. */ public void setPaginatedReportOptions(TablePaginatedReportOptions paginatedReportOptions) { this.paginatedReportOptions = paginatedReportOptions; } /** ** The paginated report options for a table visual. *
* * @return The paginated report options for a table visual. */ public TablePaginatedReportOptions getPaginatedReportOptions() { return this.paginatedReportOptions; } /** ** The paginated report options for a table visual. *
* * @param paginatedReportOptions * The paginated report options for a table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public TableConfiguration withPaginatedReportOptions(TablePaginatedReportOptions paginatedReportOptions) { setPaginatedReportOptions(paginatedReportOptions); return this; } /** ** A collection of inline visualizations to display within a chart. *
* * @return A collection of inline visualizations to display within a chart. */ public java.util.List* A collection of inline visualizations to display within a chart. *
* * @param tableInlineVisualizations * A collection of inline visualizations to display within a chart. */ public void setTableInlineVisualizations(java.util.Collection* A collection of inline visualizations to display within a chart. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTableInlineVisualizations(java.util.Collection)} or * {@link #withTableInlineVisualizations(java.util.Collection)} if you want to override the existing values. *
* * @param tableInlineVisualizations * A collection of inline visualizations to display within a chart. * @return Returns a reference to this object so that method calls can be chained together. */ public TableConfiguration withTableInlineVisualizations(TableInlineVisualization... tableInlineVisualizations) { if (this.tableInlineVisualizations == null) { setTableInlineVisualizations(new java.util.ArrayList* A collection of inline visualizations to display within a chart. *
* * @param tableInlineVisualizations * A collection of inline visualizations to display within a chart. * @return Returns a reference to this object so that method calls can be chained together. */ public TableConfiguration withTableInlineVisualizations(java.util.Collection