Class CfnAnalysis.TopBottomFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.TopBottomFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.TopBottomFilterProperty>
- Enclosing interface:
CfnAnalysis.TopBottomFilterProperty
@Stability(Stable)
public static final class CfnAnalysis.TopBottomFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.TopBottomFilterProperty>
A builder for
CfnAnalysis.TopBottomFilterProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationSortConfigurations
(List<? extends Object> aggregationSortConfigurations) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getAggregationSortConfigurations()
aggregationSortConfigurations
(IResolvable aggregationSortConfigurations) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getAggregationSortConfigurations()
build()
Builds the configured instance.column
(IResolvable column) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getColumn()
Sets the value ofCfnAnalysis.TopBottomFilterProperty.getColumn()
Sets the value ofCfnAnalysis.TopBottomFilterProperty.getFilterId()
Sets the value ofCfnAnalysis.TopBottomFilterProperty.getLimit()
parameterName
(String parameterName) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getParameterName()
timeGranularity
(String timeGranularity) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getTimeGranularity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationSortConfigurations
@Stability(Stable) public CfnAnalysis.TopBottomFilterProperty.Builder aggregationSortConfigurations(IResolvable aggregationSortConfigurations) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getAggregationSortConfigurations()
- Parameters:
aggregationSortConfigurations
- The aggregation and sort configuration of the top bottom filter. This parameter is required.- Returns:
this
-
aggregationSortConfigurations
@Stability(Stable) public CfnAnalysis.TopBottomFilterProperty.Builder aggregationSortConfigurations(List<? extends Object> aggregationSortConfigurations) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getAggregationSortConfigurations()
- Parameters:
aggregationSortConfigurations
- The aggregation and sort configuration of the top bottom filter. This parameter is required.- Returns:
this
-
column
Sets the value ofCfnAnalysis.TopBottomFilterProperty.getColumn()
- Parameters:
column
- The column that the filter is applied to. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnAnalysis.TopBottomFilterProperty.Builder column(CfnAnalysis.ColumnIdentifierProperty column) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getColumn()
- Parameters:
column
- The column that the filter is applied to. This parameter is required.- Returns:
this
-
filterId
Sets the value ofCfnAnalysis.TopBottomFilterProperty.getFilterId()
- Parameters:
filterId
- An identifier that uniquely identifies a filter within a dashboard, analysis, or template. This parameter is required.- Returns:
this
-
limit
Sets the value ofCfnAnalysis.TopBottomFilterProperty.getLimit()
- Parameters:
limit
- The number of items to include in the top bottom filter results.- Returns:
this
-
parameterName
@Stability(Stable) public CfnAnalysis.TopBottomFilterProperty.Builder parameterName(String parameterName) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getParameterName()
- Parameters:
parameterName
- The parameter whose value should be used for the filter value.- Returns:
this
-
timeGranularity
@Stability(Stable) public CfnAnalysis.TopBottomFilterProperty.Builder timeGranularity(String timeGranularity) Sets the value ofCfnAnalysis.TopBottomFilterProperty.getTimeGranularity()
- Parameters:
timeGranularity
- The level of time precision that is used to aggregateDateTime
values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.TopBottomFilterProperty>
- Returns:
- a new instance of
CfnAnalysis.TopBottomFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-