/* * 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 contents of a dashboard. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DashboardVersionDefinition implements Serializable, Cloneable, StructuredPojo { /** ** An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset * Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. *
*/ private java.util.List* An array of sheet definitions for a dashboard. *
*/ private java.util.List* An array of calculated field definitions for the dashboard. *
*/ private java.util.List* The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for use by * an action or an object. *
** For more information, see Parameters in Amazon * QuickSight in the Amazon QuickSight User Guide. *
*/ private java.util.List* The filter definitions for a dashboard. *
** For more information, see Filtering Data in Amazon * QuickSight in the Amazon QuickSight User Guide. *
*/ private java.util.List* An array of dashboard-level column configurations. Column configurations are used to set the default formatting * for a column that is used throughout a dashboard. *
*/ private java.util.List* An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset * Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. *
* * @return An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of * dataset Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. */ public java.util.List* An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset * Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. *
* * @param dataSetIdentifierDeclarations * An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of * dataset Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. */ public void setDataSetIdentifierDeclarations(java.util.Collection* An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset * Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDataSetIdentifierDeclarations(java.util.Collection)} or * {@link #withDataSetIdentifierDeclarations(java.util.Collection)} if you want to override the existing values. *
* * @param dataSetIdentifierDeclarations * An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of * dataset Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. * @return Returns a reference to this object so that method calls can be chained together. */ public DashboardVersionDefinition withDataSetIdentifierDeclarations(DataSetIdentifierDeclaration... dataSetIdentifierDeclarations) { if (this.dataSetIdentifierDeclarations == null) { setDataSetIdentifierDeclarations(new java.util.ArrayList* An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset * Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. *
* * @param dataSetIdentifierDeclarations * An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of * dataset Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. * @return Returns a reference to this object so that method calls can be chained together. */ public DashboardVersionDefinition withDataSetIdentifierDeclarations(java.util.Collection* An array of sheet definitions for a dashboard. *
* * @return An array of sheet definitions for a dashboard. */ public java.util.List* An array of sheet definitions for a dashboard. *
* * @param sheets * An array of sheet definitions for a dashboard. */ public void setSheets(java.util.Collection* An array of sheet definitions for a dashboard. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSheets(java.util.Collection)} or {@link #withSheets(java.util.Collection)} if you want to override the * existing values. *
* * @param sheets * An array of sheet definitions for a dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public DashboardVersionDefinition withSheets(SheetDefinition... sheets) { if (this.sheets == null) { setSheets(new java.util.ArrayList* An array of sheet definitions for a dashboard. *
* * @param sheets * An array of sheet definitions for a dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public DashboardVersionDefinition withSheets(java.util.Collection* An array of calculated field definitions for the dashboard. *
* * @return An array of calculated field definitions for the dashboard. */ public java.util.List* An array of calculated field definitions for the dashboard. *
* * @param calculatedFields * An array of calculated field definitions for the dashboard. */ public void setCalculatedFields(java.util.Collection* An array of calculated field definitions for the dashboard. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCalculatedFields(java.util.Collection)} or {@link #withCalculatedFields(java.util.Collection)} if you * want to override the existing values. *
* * @param calculatedFields * An array of calculated field definitions for the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public DashboardVersionDefinition withCalculatedFields(CalculatedField... calculatedFields) { if (this.calculatedFields == null) { setCalculatedFields(new java.util.ArrayList* An array of calculated field definitions for the dashboard. *
* * @param calculatedFields * An array of calculated field definitions for the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public DashboardVersionDefinition withCalculatedFields(java.util.Collection* The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for use by * an action or an object. *
** For more information, see Parameters in Amazon * QuickSight in the Amazon QuickSight User Guide. *
* * @return The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for * use by an action or an object. *
* For more information, see Parameters in
* Amazon QuickSight in the Amazon QuickSight User Guide.
*/
public java.util.List
* The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for use by
* an action or an object.
*
* For more information, see Parameters in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*
* For more information, see Parameters in
* Amazon QuickSight in the Amazon QuickSight User Guide.
*/
public void setParameterDeclarations(java.util.Collection
* The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for use by
* an action or an object.
*
* For more information, see Parameters in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setParameterDeclarations(java.util.Collection)} or
* {@link #withParameterDeclarations(java.util.Collection)} if you want to override the existing values.
*
* For more information, see Parameters in
* Amazon QuickSight in the Amazon QuickSight User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DashboardVersionDefinition withParameterDeclarations(ParameterDeclaration... parameterDeclarations) {
if (this.parameterDeclarations == null) {
setParameterDeclarations(new java.util.ArrayList
* The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for use by
* an action or an object.
*
* For more information, see Parameters in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*
* For more information, see Parameters in
* Amazon QuickSight in the Amazon QuickSight User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DashboardVersionDefinition withParameterDeclarations(java.util.Collection
* The filter definitions for a dashboard.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*/
public java.util.List
* The filter definitions for a dashboard.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*/
public void setFilterGroups(java.util.Collection
* The filter definitions for a dashboard.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setFilterGroups(java.util.Collection)} or {@link #withFilterGroups(java.util.Collection)} if you want to
* override the existing values.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DashboardVersionDefinition withFilterGroups(FilterGroup... filterGroups) {
if (this.filterGroups == null) {
setFilterGroups(new java.util.ArrayList
* The filter definitions for a dashboard.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
*
* For more information, see Filtering Data in Amazon
* QuickSight in the Amazon QuickSight User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DashboardVersionDefinition withFilterGroups(java.util.Collection
* An array of dashboard-level column configurations. Column configurations are used to set the default formatting
* for a column that is used throughout a dashboard.
*
* An array of dashboard-level column configurations. Column configurations are used to set the default formatting
* for a column that is used throughout a dashboard.
*
* An array of dashboard-level column configurations. Column configurations are used to set the default formatting
* for a column that is used throughout a dashboard.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setColumnConfigurations(java.util.Collection)} or {@link #withColumnConfigurations(java.util.Collection)}
* if you want to override the existing values.
*
* An array of dashboard-level column configurations. Column configurations are used to set the default formatting
* for a column that is used throughout a dashboard.
*