Class CfnTopic.DatasetMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.DatasetMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.DatasetMetadataProperty>
- Enclosing interface:
- CfnTopic.DatasetMetadataProperty
@Stability(Stable)
public static final class CfnTopic.DatasetMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.DatasetMetadataProperty>
A builder for
CfnTopic.DatasetMetadataProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.calculatedFields
(List<? extends Object> calculatedFields) Sets the value ofCfnTopic.DatasetMetadataProperty.getCalculatedFields()
calculatedFields
(IResolvable calculatedFields) Sets the value ofCfnTopic.DatasetMetadataProperty.getCalculatedFields()
Sets the value ofCfnTopic.DatasetMetadataProperty.getColumns()
columns
(IResolvable columns) Sets the value ofCfnTopic.DatasetMetadataProperty.getColumns()
dataAggregation
(IResolvable dataAggregation) Sets the value ofCfnTopic.DatasetMetadataProperty.getDataAggregation()
dataAggregation
(CfnTopic.DataAggregationProperty dataAggregation) Sets the value ofCfnTopic.DatasetMetadataProperty.getDataAggregation()
datasetArn
(String datasetArn) Sets the value ofCfnTopic.DatasetMetadataProperty.getDatasetArn()
datasetDescription
(String datasetDescription) Sets the value ofCfnTopic.DatasetMetadataProperty.getDatasetDescription()
datasetName
(String datasetName) Sets the value ofCfnTopic.DatasetMetadataProperty.getDatasetName()
Sets the value ofCfnTopic.DatasetMetadataProperty.getFilters()
filters
(IResolvable filters) Sets the value ofCfnTopic.DatasetMetadataProperty.getFilters()
namedEntities
(List<? extends Object> namedEntities) Sets the value ofCfnTopic.DatasetMetadataProperty.getNamedEntities()
namedEntities
(IResolvable namedEntities) Sets the value ofCfnTopic.DatasetMetadataProperty.getNamedEntities()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetArn
Sets the value ofCfnTopic.DatasetMetadataProperty.getDatasetArn()
- Parameters:
datasetArn
- The Amazon Resource Name (ARN) of the dataset. This parameter is required.- Returns:
this
-
calculatedFields
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder calculatedFields(IResolvable calculatedFields) Sets the value ofCfnTopic.DatasetMetadataProperty.getCalculatedFields()
- Parameters:
calculatedFields
- The list of calculated field definitions.- Returns:
this
-
calculatedFields
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder calculatedFields(List<? extends Object> calculatedFields) Sets the value ofCfnTopic.DatasetMetadataProperty.getCalculatedFields()
- Parameters:
calculatedFields
- The list of calculated field definitions.- Returns:
this
-
columns
Sets the value ofCfnTopic.DatasetMetadataProperty.getColumns()
- Parameters:
columns
- The list of column definitions.- Returns:
this
-
columns
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder columns(List<? extends Object> columns) Sets the value ofCfnTopic.DatasetMetadataProperty.getColumns()
- Parameters:
columns
- The list of column definitions.- Returns:
this
-
dataAggregation
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder dataAggregation(IResolvable dataAggregation) Sets the value ofCfnTopic.DatasetMetadataProperty.getDataAggregation()
- Parameters:
dataAggregation
- The definition of a data aggregation.- Returns:
this
-
dataAggregation
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder dataAggregation(CfnTopic.DataAggregationProperty dataAggregation) Sets the value ofCfnTopic.DatasetMetadataProperty.getDataAggregation()
- Parameters:
dataAggregation
- The definition of a data aggregation.- Returns:
this
-
datasetDescription
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder datasetDescription(String datasetDescription) Sets the value ofCfnTopic.DatasetMetadataProperty.getDatasetDescription()
- Parameters:
datasetDescription
- The description of the dataset.- Returns:
this
-
datasetName
Sets the value ofCfnTopic.DatasetMetadataProperty.getDatasetName()
- Parameters:
datasetName
- The name of the dataset.- Returns:
this
-
filters
Sets the value ofCfnTopic.DatasetMetadataProperty.getFilters()
- Parameters:
filters
- The list of filter definitions.- Returns:
this
-
filters
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder filters(List<? extends Object> filters) Sets the value ofCfnTopic.DatasetMetadataProperty.getFilters()
- Parameters:
filters
- The list of filter definitions.- Returns:
this
-
namedEntities
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder namedEntities(IResolvable namedEntities) Sets the value ofCfnTopic.DatasetMetadataProperty.getNamedEntities()
- Parameters:
namedEntities
- The list of named entities definitions.- Returns:
this
-
namedEntities
@Stability(Stable) public CfnTopic.DatasetMetadataProperty.Builder namedEntities(List<? extends Object> namedEntities) Sets the value ofCfnTopic.DatasetMetadataProperty.getNamedEntities()
- Parameters:
namedEntities
- The list of named entities definitions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.DatasetMetadataProperty>
- Returns:
- a new instance of
CfnTopic.DatasetMetadataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-