Interface TopicDateRangeFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicDateRangeFilter.Builder,TopicDateRangeFilter>,SdkBuilder<TopicDateRangeFilter.Builder,TopicDateRangeFilter>,SdkPojo
- Enclosing class:
- TopicDateRangeFilter
public static interface TopicDateRangeFilter.Builder extends SdkPojo, CopyableBuilder<TopicDateRangeFilter.Builder,TopicDateRangeFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TopicDateRangeFilter.Builderconstant(Consumer<TopicRangeFilterConstant.Builder> constant)The constant used in a date range filter.TopicDateRangeFilter.Builderconstant(TopicRangeFilterConstant constant)The constant used in a date range filter.TopicDateRangeFilter.Builderinclusive(Boolean inclusive)A Boolean value that indicates whether the date range filter should include the boundary values.-
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
-
inclusive
TopicDateRangeFilter.Builder inclusive(Boolean inclusive)
A Boolean value that indicates whether the date range filter should include the boundary values. If set to true, the filter includes the start and end dates. If set to false, the filter excludes them.
- Parameters:
inclusive- A Boolean value that indicates whether the date range filter should include the boundary values. If set to true, the filter includes the start and end dates. If set to false, the filter excludes them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constant
TopicDateRangeFilter.Builder constant(TopicRangeFilterConstant constant)
The constant used in a date range filter.
- Parameters:
constant- The constant used in a date range filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constant
default TopicDateRangeFilter.Builder constant(Consumer<TopicRangeFilterConstant.Builder> constant)
The constant used in a date range filter.
This is a convenience method that creates an instance of theTopicRangeFilterConstant.Builderavoiding the need to create one manually viaTopicRangeFilterConstant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstant(TopicRangeFilterConstant).- Parameters:
constant- a consumer that will call methods onTopicRangeFilterConstant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
constant(TopicRangeFilterConstant)
-
-