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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TopicRelativeDateFilter.Builderconstant(Consumer<TopicSingularFilterConstant.Builder> constant)The constant used in a relative date filter.TopicRelativeDateFilter.Builderconstant(TopicSingularFilterConstant constant)The constant used in a relative date filter.TopicRelativeDateFilter.BuilderrelativeDateFilterFunction(String relativeDateFilterFunction)The function to be used in a relative date filter to determine the range of dates to include in the results.TopicRelativeDateFilter.BuilderrelativeDateFilterFunction(TopicRelativeDateFilterFunction relativeDateFilterFunction)The function to be used in a relative date filter to determine the range of dates to include in the results.TopicRelativeDateFilter.BuildertimeGranularity(String timeGranularity)The level of time precision that is used to aggregateDateTimevalues.TopicRelativeDateFilter.BuildertimeGranularity(TopicTimeGranularity timeGranularity)The level of time precision that is used to aggregateDateTimevalues.-
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
-
timeGranularity
TopicRelativeDateFilter.Builder timeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopicTimeGranularity,TopicTimeGranularity
-
timeGranularity
TopicRelativeDateFilter.Builder timeGranularity(TopicTimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopicTimeGranularity,TopicTimeGranularity
-
relativeDateFilterFunction
TopicRelativeDateFilter.Builder relativeDateFilterFunction(String 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:
TopicRelativeDateFilterFunction,TopicRelativeDateFilterFunction
-
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:
TopicRelativeDateFilterFunction,TopicRelativeDateFilterFunction
-
constant
TopicRelativeDateFilter.Builder constant(TopicSingularFilterConstant 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.Builderavoiding the need to create one manually viaTopicSingularFilterConstant.builder().When the
Consumercompletes,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:
constant(TopicSingularFilterConstant)
-
-