Interface TopicRangeFilterConstant.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicRangeFilterConstant.Builder,
,TopicRangeFilterConstant> SdkBuilder<TopicRangeFilterConstant.Builder,
,TopicRangeFilterConstant> SdkPojo
- Enclosing class:
TopicRangeFilterConstant
public static interface TopicRangeFilterConstant.Builder
extends SdkPojo, CopyableBuilder<TopicRangeFilterConstant.Builder,TopicRangeFilterConstant>
-
Method Summary
Modifier and TypeMethodDescriptionconstantType
(String constantType) The data type of the constant value that is used in a range filter.constantType
(ConstantType constantType) The data type of the constant value that is used in a range filter.default TopicRangeFilterConstant.Builder
rangeConstant
(Consumer<RangeConstant.Builder> rangeConstant) The value of the constant that is used to specify the endpoints of a range filter.rangeConstant
(RangeConstant rangeConstant) The value of the constant that is used to specify the endpoints of a range 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 data type of the constant value that is used in a range filter. Valid values for this structure are
RANGE
.- Parameters:
constantType
- The data type of the constant value that is used in a range filter. Valid values for this structure areRANGE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
constantType
The data type of the constant value that is used in a range filter. Valid values for this structure are
RANGE
.- Parameters:
constantType
- The data type of the constant value that is used in a range filter. Valid values for this structure areRANGE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rangeConstant
The value of the constant that is used to specify the endpoints of a range filter.
- Parameters:
rangeConstant
- The value of the constant that is used to specify the endpoints of a range filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rangeConstant
default TopicRangeFilterConstant.Builder rangeConstant(Consumer<RangeConstant.Builder> rangeConstant) The value of the constant that is used to specify the endpoints of a range filter.
This is a convenience method that creates an instance of theRangeConstant.Builder
avoiding the need to create one manually viaRangeConstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torangeConstant(RangeConstant)
.- Parameters:
rangeConstant
- a consumer that will call methods onRangeConstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-