Class CfnTemplate.TopBottomFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TopBottomFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TopBottomFilterProperty>
- Enclosing interface:
CfnTemplate.TopBottomFilterProperty
@Stability(Stable)
public static final class CfnTemplate.TopBottomFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TopBottomFilterProperty>
A builder for
CfnTemplate.TopBottomFilterProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationSortConfigurations
(List<? extends Object> aggregationSortConfigurations) Sets the value ofCfnTemplate.TopBottomFilterProperty.getAggregationSortConfigurations()
aggregationSortConfigurations
(IResolvable aggregationSortConfigurations) Sets the value ofCfnTemplate.TopBottomFilterProperty.getAggregationSortConfigurations()
build()
Builds the configured instance.column
(IResolvable column) Sets the value ofCfnTemplate.TopBottomFilterProperty.getColumn()
Sets the value ofCfnTemplate.TopBottomFilterProperty.getColumn()
defaultFilterControlConfiguration
(IResolvable defaultFilterControlConfiguration) defaultFilterControlConfiguration
(CfnTemplate.DefaultFilterControlConfigurationProperty defaultFilterControlConfiguration) Sets the value ofCfnTemplate.TopBottomFilterProperty.getFilterId()
Sets the value ofCfnTemplate.TopBottomFilterProperty.getLimit()
parameterName
(String parameterName) Sets the value ofCfnTemplate.TopBottomFilterProperty.getParameterName()
timeGranularity
(String timeGranularity) Sets the value ofCfnTemplate.TopBottomFilterProperty.getTimeGranularity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationSortConfigurations
@Stability(Stable) public CfnTemplate.TopBottomFilterProperty.Builder aggregationSortConfigurations(IResolvable aggregationSortConfigurations) Sets the value ofCfnTemplate.TopBottomFilterProperty.getAggregationSortConfigurations()
- Parameters:
aggregationSortConfigurations
- The aggregation and sort configuration of the top bottom filter. This parameter is required.- Returns:
this
-
aggregationSortConfigurations
@Stability(Stable) public CfnTemplate.TopBottomFilterProperty.Builder aggregationSortConfigurations(List<? extends Object> aggregationSortConfigurations) Sets the value ofCfnTemplate.TopBottomFilterProperty.getAggregationSortConfigurations()
- Parameters:
aggregationSortConfigurations
- The aggregation and sort configuration of the top bottom filter. This parameter is required.- Returns:
this
-
column
Sets the value ofCfnTemplate.TopBottomFilterProperty.getColumn()
- Parameters:
column
- The column that the filter is applied to. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnTemplate.TopBottomFilterProperty.Builder column(CfnTemplate.ColumnIdentifierProperty column) Sets the value ofCfnTemplate.TopBottomFilterProperty.getColumn()
- Parameters:
column
- The column that the filter is applied to. This parameter is required.- Returns:
this
-
filterId
Sets the value ofCfnTemplate.TopBottomFilterProperty.getFilterId()
- Parameters:
filterId
- An identifier that uniquely identifies a filter within a dashboard, analysis, or template. This parameter is required.- Returns:
this
-
defaultFilterControlConfiguration
@Stability(Stable) public CfnTemplate.TopBottomFilterProperty.Builder defaultFilterControlConfiguration(IResolvable defaultFilterControlConfiguration) - Parameters:
defaultFilterControlConfiguration
- The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.- Returns:
this
-
defaultFilterControlConfiguration
@Stability(Stable) public CfnTemplate.TopBottomFilterProperty.Builder defaultFilterControlConfiguration(CfnTemplate.DefaultFilterControlConfigurationProperty defaultFilterControlConfiguration) - Parameters:
defaultFilterControlConfiguration
- The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.- Returns:
this
-
limit
Sets the value ofCfnTemplate.TopBottomFilterProperty.getLimit()
- Parameters:
limit
- The number of items to include in the top bottom filter results.- Returns:
this
-
parameterName
@Stability(Stable) public CfnTemplate.TopBottomFilterProperty.Builder parameterName(String parameterName) Sets the value ofCfnTemplate.TopBottomFilterProperty.getParameterName()
- Parameters:
parameterName
- The parameter whose value should be used for the filter value.- Returns:
this
-
timeGranularity
@Stability(Stable) public CfnTemplate.TopBottomFilterProperty.Builder timeGranularity(String timeGranularity) Sets the value ofCfnTemplate.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<CfnTemplate.TopBottomFilterProperty>
- Returns:
- a new instance of
CfnTemplate.TopBottomFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-