Class CfnAnalysis.FilterGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.FilterGroupProperty>
- Enclosing interface:
CfnAnalysis.FilterGroupProperty
@Stability(Stable)
public static final class CfnAnalysis.FilterGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.FilterGroupProperty>
A builder for
CfnAnalysis.FilterGroupProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.crossDataset
(String crossDataset) Sets the value ofCfnAnalysis.FilterGroupProperty.getCrossDataset()
filterGroupId
(String filterGroupId) Sets the value ofCfnAnalysis.FilterGroupProperty.getFilterGroupId()
Sets the value ofCfnAnalysis.FilterGroupProperty.getFilters()
filters
(IResolvable filters) Sets the value ofCfnAnalysis.FilterGroupProperty.getFilters()
scopeConfiguration
(IResolvable scopeConfiguration) Sets the value ofCfnAnalysis.FilterGroupProperty.getScopeConfiguration()
scopeConfiguration
(CfnAnalysis.FilterScopeConfigurationProperty scopeConfiguration) Sets the value ofCfnAnalysis.FilterGroupProperty.getScopeConfiguration()
Sets the value ofCfnAnalysis.FilterGroupProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crossDataset
Sets the value ofCfnAnalysis.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 CfnAnalysis.FilterGroupProperty.Builder filterGroupId(String filterGroupId) Sets the value ofCfnAnalysis.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 ofCfnAnalysis.FilterGroupProperty.getFilters()
- Parameters:
filters
- The list of filters that are present in aFilterGroup
. This parameter is required.- Returns:
this
-
filters
@Stability(Stable) public CfnAnalysis.FilterGroupProperty.Builder filters(List<? extends Object> filters) Sets the value ofCfnAnalysis.FilterGroupProperty.getFilters()
- Parameters:
filters
- The list of filters that are present in aFilterGroup
. This parameter is required.- Returns:
this
-
scopeConfiguration
@Stability(Stable) public CfnAnalysis.FilterGroupProperty.Builder scopeConfiguration(IResolvable scopeConfiguration) Sets the value ofCfnAnalysis.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 CfnAnalysis.FilterGroupProperty.Builder scopeConfiguration(CfnAnalysis.FilterScopeConfigurationProperty scopeConfiguration) Sets the value ofCfnAnalysis.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 ofCfnAnalysis.FilterGroupProperty.getStatus()
- Parameters:
status
- The status of theFilterGroup
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.FilterGroupProperty>
- Returns:
- a new instance of
CfnAnalysis.FilterGroupProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-