Interface TopicCategoryFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicCategoryFilter.Builder,TopicCategoryFilter>,SdkBuilder<TopicCategoryFilter.Builder,TopicCategoryFilter>,SdkPojo
- Enclosing class:
- TopicCategoryFilter
@Mutable @NotThreadSafe public static interface TopicCategoryFilter.Builder extends SdkPojo, CopyableBuilder<TopicCategoryFilter.Builder,TopicCategoryFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TopicCategoryFilter.BuildercategoryFilterFunction(String categoryFilterFunction)The category filter function.TopicCategoryFilter.BuildercategoryFilterFunction(CategoryFilterFunction categoryFilterFunction)The category filter function.TopicCategoryFilter.BuildercategoryFilterType(String categoryFilterType)The category filter type.TopicCategoryFilter.BuildercategoryFilterType(CategoryFilterType categoryFilterType)The category filter type.default TopicCategoryFilter.Builderconstant(Consumer<TopicCategoryFilterConstant.Builder> constant)The constant used in a category filter.TopicCategoryFilter.Builderconstant(TopicCategoryFilterConstant constant)The constant used in a category filter.TopicCategoryFilter.Builderinverse(Boolean inverse)A Boolean value that indicates if the filter is inverse.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
categoryFilterFunction
TopicCategoryFilter.Builder categoryFilterFunction(String categoryFilterFunction)
The category filter function. Valid values for this structure are
EXACTandCONTAINS.- Parameters:
categoryFilterFunction- The category filter function. Valid values for this structure areEXACTandCONTAINS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CategoryFilterFunction,CategoryFilterFunction
-
categoryFilterFunction
TopicCategoryFilter.Builder categoryFilterFunction(CategoryFilterFunction categoryFilterFunction)
The category filter function. Valid values for this structure are
EXACTandCONTAINS.- Parameters:
categoryFilterFunction- The category filter function. Valid values for this structure areEXACTandCONTAINS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CategoryFilterFunction,CategoryFilterFunction
-
categoryFilterType
TopicCategoryFilter.Builder categoryFilterType(String categoryFilterType)
The category filter type. This element is used to specify whether a filter is a simple category filter or an inverse category filter.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CategoryFilterType,CategoryFilterType
-
categoryFilterType
TopicCategoryFilter.Builder categoryFilterType(CategoryFilterType categoryFilterType)
The category filter type. This element is used to specify whether a filter is a simple category filter or an inverse category filter.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CategoryFilterType,CategoryFilterType
-
constant
TopicCategoryFilter.Builder constant(TopicCategoryFilterConstant constant)
The constant used in a category filter.
- Parameters:
constant- The constant used in a category filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constant
default TopicCategoryFilter.Builder constant(Consumer<TopicCategoryFilterConstant.Builder> constant)
The constant used in a category filter.
This is a convenience method that creates an instance of theTopicCategoryFilterConstant.Builderavoiding the need to create one manually viaTopicCategoryFilterConstant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstant(TopicCategoryFilterConstant).- Parameters:
constant- a consumer that will call methods onTopicCategoryFilterConstant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
constant(TopicCategoryFilterConstant)
-
inverse
TopicCategoryFilter.Builder inverse(Boolean inverse)
A Boolean value that indicates if the filter is inverse.
- Parameters:
inverse- A Boolean value that indicates if the filter is inverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-