Interface TopicCategoryFilterConstant.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicCategoryFilterConstant.Builder,TopicCategoryFilterConstant>,SdkBuilder<TopicCategoryFilterConstant.Builder,TopicCategoryFilterConstant>,SdkPojo
- Enclosing class:
- TopicCategoryFilterConstant
public static interface TopicCategoryFilterConstant.Builder extends SdkPojo, CopyableBuilder<TopicCategoryFilterConstant.Builder,TopicCategoryFilterConstant>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TopicCategoryFilterConstant.BuildercollectiveConstant(Consumer<CollectiveConstant.Builder> collectiveConstant)A collective constant used in a category filter.TopicCategoryFilterConstant.BuildercollectiveConstant(CollectiveConstant collectiveConstant)A collective constant used in a category filter.TopicCategoryFilterConstant.BuilderconstantType(String constantType)The type of category filter constant.TopicCategoryFilterConstant.BuilderconstantType(ConstantType constantType)The type of category filter constant.TopicCategoryFilterConstant.BuildersingularConstant(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 Detail
-
constantType
TopicCategoryFilterConstant.Builder constantType(String constantType)
The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are
SINGULARandCOLLECTIVE.- Parameters:
constantType- The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values areSINGULARandCOLLECTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConstantType,ConstantType
-
constantType
TopicCategoryFilterConstant.Builder constantType(ConstantType constantType)
The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are
SINGULARandCOLLECTIVE.- Parameters:
constantType- The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values areSINGULARandCOLLECTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConstantType,ConstantType
-
singularConstant
TopicCategoryFilterConstant.Builder singularConstant(String 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
TopicCategoryFilterConstant.Builder collectiveConstant(CollectiveConstant 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.Builderavoiding the need to create one manually viaCollectiveConstant.builder().When the
Consumercompletes,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:
collectiveConstant(CollectiveConstant)
-
-