Class CfnTopic.TopicCategoryFilterConstantProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicCategoryFilterConstantProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicCategoryFilterConstantProperty>
- Enclosing interface:
CfnTopic.TopicCategoryFilterConstantProperty
@Stability(Stable)
public static final class CfnTopic.TopicCategoryFilterConstantProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicCategoryFilterConstantProperty>
A builder for
CfnTopic.TopicCategoryFilterConstantProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.collectiveConstant
(IResolvable collectiveConstant) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getCollectiveConstant()
collectiveConstant
(CfnTopic.CollectiveConstantProperty collectiveConstant) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getCollectiveConstant()
constantType
(String constantType) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getConstantType()
singularConstant
(String singularConstant) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getSingularConstant()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectiveConstant
@Stability(Stable) public CfnTopic.TopicCategoryFilterConstantProperty.Builder collectiveConstant(IResolvable collectiveConstant) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getCollectiveConstant()
- Parameters:
collectiveConstant
- A collective constant used in a category filter. This element is used to specify a list of values for the constant.- Returns:
this
-
collectiveConstant
@Stability(Stable) public CfnTopic.TopicCategoryFilterConstantProperty.Builder collectiveConstant(CfnTopic.CollectiveConstantProperty collectiveConstant) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getCollectiveConstant()
- Parameters:
collectiveConstant
- A collective constant used in a category filter. This element is used to specify a list of values for the constant.- Returns:
this
-
constantType
@Stability(Stable) public CfnTopic.TopicCategoryFilterConstantProperty.Builder constantType(String constantType) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getConstantType()
- Parameters:
constantType
- The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values areSINGULAR
andCOLLECTIVE
.- Returns:
this
-
singularConstant
@Stability(Stable) public CfnTopic.TopicCategoryFilterConstantProperty.Builder singularConstant(String singularConstant) Sets the value ofCfnTopic.TopicCategoryFilterConstantProperty.getSingularConstant()
- Parameters:
singularConstant
- A singular constant used in a category filter. This element is used to specify a single value for the constant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.TopicCategoryFilterConstantProperty>
- Returns:
- a new instance of
CfnTopic.TopicCategoryFilterConstantProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-