Class CfnAnalysis.AnalysisDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.AnalysisDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.AnalysisDefinitionProperty>
- Enclosing interface:
CfnAnalysis.AnalysisDefinitionProperty
@Stability(Stable)
public static final class CfnAnalysis.AnalysisDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.AnalysisDefinitionProperty>
A builder for
CfnAnalysis.AnalysisDefinitionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanalysisDefaults
(IResolvable analysisDefaults) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getAnalysisDefaults()
analysisDefaults
(CfnAnalysis.AnalysisDefaultsProperty analysisDefaults) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getAnalysisDefaults()
build()
Builds the configured instance.calculatedFields
(List<? extends Object> calculatedFields) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getCalculatedFields()
calculatedFields
(IResolvable calculatedFields) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getCalculatedFields()
columnConfigurations
(List<? extends Object> columnConfigurations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getColumnConfigurations()
columnConfigurations
(IResolvable columnConfigurations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getColumnConfigurations()
dataSetIdentifierDeclarations
(List<? extends Object> dataSetIdentifierDeclarations) dataSetIdentifierDeclarations
(IResolvable dataSetIdentifierDeclarations) filterGroups
(List<? extends Object> filterGroups) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getFilterGroups()
filterGroups
(IResolvable filterGroups) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getFilterGroups()
options
(IResolvable options) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getOptions()
options
(CfnAnalysis.AssetOptionsProperty options) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getOptions()
parameterDeclarations
(List<? extends Object> parameterDeclarations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getParameterDeclarations()
parameterDeclarations
(IResolvable parameterDeclarations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getParameterDeclarations()
queryExecutionOptions
(IResolvable queryExecutionOptions) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getQueryExecutionOptions()
queryExecutionOptions
(CfnAnalysis.QueryExecutionOptionsProperty queryExecutionOptions) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getQueryExecutionOptions()
Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getSheets()
sheets
(IResolvable sheets) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getSheets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSetIdentifierDeclarations
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder dataSetIdentifierDeclarations(IResolvable dataSetIdentifierDeclarations) - Parameters:
dataSetIdentifierDeclarations
- An array of dataset identifier declarations. This parameter is required. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.- Returns:
this
-
dataSetIdentifierDeclarations
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder dataSetIdentifierDeclarations(List<? extends Object> dataSetIdentifierDeclarations) - Parameters:
dataSetIdentifierDeclarations
- An array of dataset identifier declarations. This parameter is required. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures.- Returns:
this
-
analysisDefaults
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder analysisDefaults(IResolvable analysisDefaults) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getAnalysisDefaults()
- Parameters:
analysisDefaults
- the value to be set.- Returns:
this
-
analysisDefaults
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder analysisDefaults(CfnAnalysis.AnalysisDefaultsProperty analysisDefaults) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getAnalysisDefaults()
- Parameters:
analysisDefaults
- the value to be set.- Returns:
this
-
calculatedFields
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder calculatedFields(IResolvable calculatedFields) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getCalculatedFields()
- Parameters:
calculatedFields
- An array of calculated field definitions for the analysis.- Returns:
this
-
calculatedFields
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder calculatedFields(List<? extends Object> calculatedFields) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getCalculatedFields()
- Parameters:
calculatedFields
- An array of calculated field definitions for the analysis.- Returns:
this
-
columnConfigurations
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder columnConfigurations(IResolvable columnConfigurations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getColumnConfigurations()
- Parameters:
columnConfigurations
- An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.- Returns:
this
-
columnConfigurations
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder columnConfigurations(List<? extends Object> columnConfigurations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getColumnConfigurations()
- Parameters:
columnConfigurations
- An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis.- Returns:
this
-
filterGroups
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder filterGroups(IResolvable filterGroups) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getFilterGroups()
- Parameters:
filterGroups
- Filter definitions for an analysis. For more information, see Filtering Data in Amazon QuickSight in the Amazon QuickSight User Guide .- Returns:
this
-
filterGroups
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder filterGroups(List<? extends Object> filterGroups) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getFilterGroups()
- Parameters:
filterGroups
- Filter definitions for an analysis. For more information, see Filtering Data in Amazon QuickSight in the Amazon QuickSight User Guide .- Returns:
this
-
options
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder options(IResolvable options) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getOptions()
- Parameters:
options
- An array of option definitions for an analysis.- Returns:
this
-
options
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder options(CfnAnalysis.AssetOptionsProperty options) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getOptions()
- Parameters:
options
- An array of option definitions for an analysis.- Returns:
this
-
parameterDeclarations
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder parameterDeclarations(IResolvable parameterDeclarations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getParameterDeclarations()
- Parameters:
parameterDeclarations
- An array of parameter declarations for an analysis. 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 .
- Returns:
this
-
parameterDeclarations
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder parameterDeclarations(List<? extends Object> parameterDeclarations) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getParameterDeclarations()
- Parameters:
parameterDeclarations
- An array of parameter declarations for an analysis. 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 .
- Returns:
this
-
queryExecutionOptions
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder queryExecutionOptions(IResolvable queryExecutionOptions) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getQueryExecutionOptions()
- Parameters:
queryExecutionOptions
- the value to be set.- Returns:
this
-
queryExecutionOptions
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder queryExecutionOptions(CfnAnalysis.QueryExecutionOptionsProperty queryExecutionOptions) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getQueryExecutionOptions()
- Parameters:
queryExecutionOptions
- the value to be set.- Returns:
this
-
sheets
Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getSheets()
- Parameters:
sheets
- An array of sheet definitions for an analysis. EachSheetDefinition
provides detailed information about a sheet within this analysis.- Returns:
this
-
sheets
@Stability(Stable) public CfnAnalysis.AnalysisDefinitionProperty.Builder sheets(List<? extends Object> sheets) Sets the value ofCfnAnalysis.AnalysisDefinitionProperty.getSheets()
- Parameters:
sheets
- An array of sheet definitions for an analysis. EachSheetDefinition
provides detailed information about a sheet within this analysis.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.AnalysisDefinitionProperty>
- Returns:
- a new instance of
CfnAnalysis.AnalysisDefinitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-