Class CfnTopic.TopicCategoryFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicCategoryFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicCategoryFilterProperty>
- Enclosing interface:
CfnTopic.TopicCategoryFilterProperty
@Stability(Stable)
public static final class CfnTopic.TopicCategoryFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicCategoryFilterProperty>
A builder for
CfnTopic.TopicCategoryFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.categoryFilterFunction
(String categoryFilterFunction) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getCategoryFilterFunction()
categoryFilterType
(String categoryFilterType) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getCategoryFilterType()
constant
(IResolvable constant) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getConstant()
Sets the value ofCfnTopic.TopicCategoryFilterProperty.getConstant()
Sets the value ofCfnTopic.TopicCategoryFilterProperty.getInverse()
inverse
(IResolvable inverse) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getInverse()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryFilterFunction
@Stability(Stable) public CfnTopic.TopicCategoryFilterProperty.Builder categoryFilterFunction(String categoryFilterFunction) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getCategoryFilterFunction()
- Parameters:
categoryFilterFunction
- The category filter function. Valid values for this structure areEXACT
andCONTAINS
.- Returns:
this
-
categoryFilterType
@Stability(Stable) public CfnTopic.TopicCategoryFilterProperty.Builder categoryFilterType(String categoryFilterType) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getCategoryFilterType()
- Parameters:
categoryFilterType
- The category filter type. This element is used to specify whether a filter is a simple category filter or an inverse category filter.- Returns:
this
-
constant
@Stability(Stable) public CfnTopic.TopicCategoryFilterProperty.Builder constant(IResolvable constant) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getConstant()
- Parameters:
constant
- The constant used in a category filter.- Returns:
this
-
constant
@Stability(Stable) public CfnTopic.TopicCategoryFilterProperty.Builder constant(CfnTopic.TopicCategoryFilterConstantProperty constant) Sets the value ofCfnTopic.TopicCategoryFilterProperty.getConstant()
- Parameters:
constant
- The constant used in a category filter.- Returns:
this
-
inverse
Sets the value ofCfnTopic.TopicCategoryFilterProperty.getInverse()
- Parameters:
inverse
- A Boolean value that indicates if the filter is inverse.- Returns:
this
-
inverse
Sets the value ofCfnTopic.TopicCategoryFilterProperty.getInverse()
- Parameters:
inverse
- A Boolean value that indicates if the filter is inverse.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.TopicCategoryFilterProperty>
- Returns:
- a new instance of
CfnTopic.TopicCategoryFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-