Interface TopicCategoryFilterConstant.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicCategoryFilterConstant.Builder,
,TopicCategoryFilterConstant> SdkBuilder<TopicCategoryFilterConstant.Builder,
,TopicCategoryFilterConstant> SdkPojo
- Enclosing class:
TopicCategoryFilterConstant
-
Method Summary
Modifier and TypeMethodDescriptioncollectiveConstant
(Consumer<CollectiveConstant.Builder> collectiveConstant) A collective constant used in a category filter.collectiveConstant
(CollectiveConstant collectiveConstant) A collective constant used in a category filter.constantType
(String constantType) The type of category filter constant.constantType
(ConstantType constantType) The type of category filter constant.singularConstant
(String singularConstant) A singular constant used in a category filter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
constantType
The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are
SINGULAR
andCOLLECTIVE
.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
constantType
The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are
SINGULAR
andCOLLECTIVE
.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
singularConstant
A singular constant used in a category filter. This element is used to specify a single value for the constant.
- Parameters:
singularConstant
- A singular constant used in a category filter. This element is used to specify a single value for the constant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectiveConstant
A collective constant used in a category filter. This element is used to specify a list of values for the constant.
- Parameters:
collectiveConstant
- A collective constant used in a category filter. This element is used to specify a list of values for the constant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectiveConstant
default TopicCategoryFilterConstant.Builder collectiveConstant(Consumer<CollectiveConstant.Builder> collectiveConstant) A collective constant used in a category filter. This element is used to specify a list of values for the constant.
This is a convenience method that creates an instance of theCollectiveConstant.Builder
avoiding the need to create one manually viaCollectiveConstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollectiveConstant(CollectiveConstant)
.- Parameters:
collectiveConstant
- a consumer that will call methods onCollectiveConstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-