Interface TopicRelativeDateFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicRelativeDateFilter.Builder,
,TopicRelativeDateFilter> SdkBuilder<TopicRelativeDateFilter.Builder,
,TopicRelativeDateFilter> SdkPojo
- Enclosing class:
TopicRelativeDateFilter
public static interface TopicRelativeDateFilter.Builder
extends SdkPojo, CopyableBuilder<TopicRelativeDateFilter.Builder,TopicRelativeDateFilter>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TopicRelativeDateFilter.Builder
constant
(Consumer<TopicSingularFilterConstant.Builder> constant) The constant used in a relative date filter.constant
(TopicSingularFilterConstant constant) The constant used in a relative date filter.relativeDateFilterFunction
(String relativeDateFilterFunction) The function to be used in a relative date filter to determine the range of dates to include in the results.relativeDateFilterFunction
(TopicRelativeDateFilterFunction relativeDateFilterFunction) The function to be used in a relative date filter to determine the range of dates to include in the results.timeGranularity
(String timeGranularity) The level of time precision that is used to aggregateDateTime
values.timeGranularity
(TopicTimeGranularity timeGranularity) The level of time precision that is used to aggregateDateTime
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 Details
-
timeGranularity
The level of time precision that is used to aggregate
DateTime
values.- Parameters:
timeGranularity
- The level of time precision that is used to aggregateDateTime
values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeGranularity
The level of time precision that is used to aggregate
DateTime
values.- Parameters:
timeGranularity
- The level of time precision that is used to aggregateDateTime
values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relativeDateFilterFunction
The function to be used in a relative date filter to determine the range of dates to include in the results. Valid values for this structure are
BEFORE
,AFTER
, andBETWEEN
.- Parameters:
relativeDateFilterFunction
- The function to be used in a relative date filter to determine the range of dates to include in the results. Valid values for this structure areBEFORE
,AFTER
, andBETWEEN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relativeDateFilterFunction
TopicRelativeDateFilter.Builder relativeDateFilterFunction(TopicRelativeDateFilterFunction relativeDateFilterFunction) The function to be used in a relative date filter to determine the range of dates to include in the results. Valid values for this structure are
BEFORE
,AFTER
, andBETWEEN
.- Parameters:
relativeDateFilterFunction
- The function to be used in a relative date filter to determine the range of dates to include in the results. Valid values for this structure areBEFORE
,AFTER
, andBETWEEN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
constant
The constant used in a relative date filter.
- Parameters:
constant
- The constant used in a relative date filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constant
default TopicRelativeDateFilter.Builder constant(Consumer<TopicSingularFilterConstant.Builder> constant) The constant used in a relative date filter.
This is a convenience method that creates an instance of theTopicSingularFilterConstant.Builder
avoiding the need to create one manually viaTopicSingularFilterConstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconstant(TopicSingularFilterConstant)
.- Parameters:
constant
- a consumer that will call methods onTopicSingularFilterConstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-