/* * 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 detailed definition of a template. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class TemplateVersionDefinition implements Serializable, Cloneable, StructuredPojo { /** ** An array of dataset configurations. These configurations define the required columns for each dataset used within * a template. *
*/ private java.util.List* An array of sheet definitions for a template. *
*/ private java.util.List* An array of calculated field definitions for the template. *
*/ private java.util.List* An array of parameter declarations for a template. *
** 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* Filter definitions for a template. *
** For more information, see Filtering Data in the * Amazon QuickSight User Guide. *
*/ private java.util.List* An array of template-level column configurations. Column configurations are used to set default formatting for a * column that's used throughout a template. *
*/ private java.util.List* An array of dataset configurations. These configurations define the required columns for each dataset used within * a template. *
* * @return An array of dataset configurations. These configurations define the required columns for each dataset * used within a template. */ public java.util.List* An array of dataset configurations. These configurations define the required columns for each dataset used within * a template. *
* * @param dataSetConfigurations * An array of dataset configurations. These configurations define the required columns for each dataset used * within a template. */ public void setDataSetConfigurations(java.util.Collection* An array of dataset configurations. These configurations define the required columns for each dataset used within * a template. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDataSetConfigurations(java.util.Collection)} or * {@link #withDataSetConfigurations(java.util.Collection)} if you want to override the existing values. *
* * @param dataSetConfigurations * An array of dataset configurations. These configurations define the required columns for each dataset used * within a template. * @return Returns a reference to this object so that method calls can be chained together. */ public TemplateVersionDefinition withDataSetConfigurations(DataSetConfiguration... dataSetConfigurations) { if (this.dataSetConfigurations == null) { setDataSetConfigurations(new java.util.ArrayList* An array of dataset configurations. These configurations define the required columns for each dataset used within * a template. *
* * @param dataSetConfigurations * An array of dataset configurations. These configurations define the required columns for each dataset used * within a template. * @return Returns a reference to this object so that method calls can be chained together. */ public TemplateVersionDefinition withDataSetConfigurations(java.util.Collection* An array of sheet definitions for a template. *
* * @return An array of sheet definitions for a template. */ public java.util.List* An array of sheet definitions for a template. *
* * @param sheets * An array of sheet definitions for a template. */ public void setSheets(java.util.Collection* An array of sheet definitions for a template. *
** 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 template. * @return Returns a reference to this object so that method calls can be chained together. */ public TemplateVersionDefinition withSheets(SheetDefinition... sheets) { if (this.sheets == null) { setSheets(new java.util.ArrayList* An array of sheet definitions for a template. *
* * @param sheets * An array of sheet definitions for a template. * @return Returns a reference to this object so that method calls can be chained together. */ public TemplateVersionDefinition withSheets(java.util.Collection* An array of calculated field definitions for the template. *
* * @return An array of calculated field definitions for the template. */ public java.util.List* An array of calculated field definitions for the template. *
* * @param calculatedFields * An array of calculated field definitions for the template. */ public void setCalculatedFields(java.util.Collection* An array of calculated field definitions for the template. *
** 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 template. * @return Returns a reference to this object so that method calls can be chained together. */ public TemplateVersionDefinition withCalculatedFields(CalculatedField... calculatedFields) { if (this.calculatedFields == null) { setCalculatedFields(new java.util.ArrayList* An array of calculated field definitions for the template. *
* * @param calculatedFields * An array of calculated field definitions for the template. * @return Returns a reference to this object so that method calls can be chained together. */ public TemplateVersionDefinition withCalculatedFields(java.util.Collection* An array of parameter declarations for a template. *
** 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 An array of parameter declarations for a template. ** 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
* An array of parameter declarations for a template.
*
* 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.
*
* 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 void setParameterDeclarations(java.util.Collection
* An array of parameter declarations for a template.
*
* 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.
*
* 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 Returns a reference to this object so that method calls can be chained together.
*/
public TemplateVersionDefinition withParameterDeclarations(ParameterDeclaration... parameterDeclarations) {
if (this.parameterDeclarations == null) {
setParameterDeclarations(new java.util.ArrayList
* An array of parameter declarations for a template.
*
* 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.
*
* 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 Returns a reference to this object so that method calls can be chained together.
*/
public TemplateVersionDefinition withParameterDeclarations(java.util.Collection
* Filter definitions for a template.
*
* For more information, see Filtering Data in the
* Amazon QuickSight User Guide.
*
* For more information, see Filtering Data
* in the Amazon QuickSight User Guide.
*/
public java.util.List
* Filter definitions for a template.
*
* For more information, see Filtering Data in the
* Amazon QuickSight User Guide.
*
* For more information, see Filtering Data in
* the Amazon QuickSight User Guide.
*/
public void setFilterGroups(java.util.Collection
* Filter definitions for a template.
*
* For more information, see Filtering Data 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
* the Amazon QuickSight User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TemplateVersionDefinition withFilterGroups(FilterGroup... filterGroups) {
if (this.filterGroups == null) {
setFilterGroups(new java.util.ArrayList
* Filter definitions for a template.
*
* For more information, see Filtering Data in the
* Amazon QuickSight User Guide.
*
* For more information, see Filtering Data in
* the Amazon QuickSight User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TemplateVersionDefinition withFilterGroups(java.util.Collection
* An array of template-level column configurations. Column configurations are used to set default formatting for a
* column that's used throughout a template.
*
* An array of template-level column configurations. Column configurations are used to set default formatting for a
* column that's used throughout a template.
*
* An array of template-level column configurations. Column configurations are used to set default formatting for a
* column that's used throughout a template.
*
* 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 template-level column configurations. Column configurations are used to set default formatting for a
* column that's used throughout a template.
*