Class CfnDashboard.FilterGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.FilterGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.FilterGroupProperty>
- Enclosing interface:
CfnDashboard.FilterGroupProperty
@Stability(Stable)
public static final class CfnDashboard.FilterGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.FilterGroupProperty>
A builder for
CfnDashboard.FilterGroupProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.crossDataset
(String crossDataset) Sets the value ofCfnDashboard.FilterGroupProperty.getCrossDataset()
filterGroupId
(String filterGroupId) Sets the value ofCfnDashboard.FilterGroupProperty.getFilterGroupId()
Sets the value ofCfnDashboard.FilterGroupProperty.getFilters()
filters
(IResolvable filters) Sets the value ofCfnDashboard.FilterGroupProperty.getFilters()
scopeConfiguration
(IResolvable scopeConfiguration) Sets the value ofCfnDashboard.FilterGroupProperty.getScopeConfiguration()
scopeConfiguration
(CfnDashboard.FilterScopeConfigurationProperty scopeConfiguration) Sets the value ofCfnDashboard.FilterGroupProperty.getScopeConfiguration()
Sets the value ofCfnDashboard.FilterGroupProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crossDataset
@Stability(Stable) public CfnDashboard.FilterGroupProperty.Builder crossDataset(String crossDataset) Sets the value ofCfnDashboard.FilterGroupProperty.getCrossDataset()
- Parameters:
crossDataset
- The filter new feature which can apply filter group to all data sets. Choose one of the following options:. This parameter is required.ALL_DATASETS
SINGLE_DATASET
- Returns:
this
-
filterGroupId
@Stability(Stable) public CfnDashboard.FilterGroupProperty.Builder filterGroupId(String filterGroupId) Sets the value ofCfnDashboard.FilterGroupProperty.getFilterGroupId()
- Parameters:
filterGroupId
- The value that uniquely identifies aFilterGroup
within a dashboard, template, or analysis. This parameter is required.- Returns:
this
-
filters
Sets the value ofCfnDashboard.FilterGroupProperty.getFilters()
- Parameters:
filters
- The list of filters that are present in aFilterGroup
. This parameter is required.- Returns:
this
-
filters
@Stability(Stable) public CfnDashboard.FilterGroupProperty.Builder filters(List<? extends Object> filters) Sets the value ofCfnDashboard.FilterGroupProperty.getFilters()
- Parameters:
filters
- The list of filters that are present in aFilterGroup
. This parameter is required.- Returns:
this
-
scopeConfiguration
@Stability(Stable) public CfnDashboard.FilterGroupProperty.Builder scopeConfiguration(IResolvable scopeConfiguration) Sets the value ofCfnDashboard.FilterGroupProperty.getScopeConfiguration()
- Parameters:
scopeConfiguration
- The configuration that specifies what scope to apply to aFilterGroup
. This parameter is required. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.- Returns:
this
-
scopeConfiguration
@Stability(Stable) public CfnDashboard.FilterGroupProperty.Builder scopeConfiguration(CfnDashboard.FilterScopeConfigurationProperty scopeConfiguration) Sets the value ofCfnDashboard.FilterGroupProperty.getScopeConfiguration()
- Parameters:
scopeConfiguration
- The configuration that specifies what scope to apply to aFilterGroup
. This parameter is required. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.- Returns:
this
-
status
Sets the value ofCfnDashboard.FilterGroupProperty.getStatus()
- Parameters:
status
- The status of theFilterGroup
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.FilterGroupProperty>
- Returns:
- a new instance of
CfnDashboard.FilterGroupProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-