@Generated(value="software.amazon.awssdk:codegen") public final class TopicRelativeDateFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicRelativeDateFilter.Builder,TopicRelativeDateFilter>
A structure that represents a relative date filter.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TopicRelativeDateFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TopicRelativeDateFilter.Builder |
builder() |
TopicSingularFilterConstant |
constant()
The constant used in a relative date filter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TopicRelativeDateFilterFunction |
relativeDateFilterFunction()
The function to be used in a relative date filter to determine the range of dates to include in the results.
|
String |
relativeDateFilterFunctionAsString()
The function to be used in a relative date filter to determine the range of dates to include in the results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TopicRelativeDateFilter.Builder> |
serializableBuilderClass() |
TopicTimeGranularity |
timeGranularity()
The level of time precision that is used to aggregate
DateTime values. |
String |
timeGranularityAsString()
The level of time precision that is used to aggregate
DateTime values. |
TopicRelativeDateFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TopicTimeGranularity timeGranularity()
The level of time precision that is used to aggregate DateTime values.
If the service returns an enum value that is not available in the current SDK version, timeGranularity
will return TopicTimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from timeGranularityAsString().
DateTime values.TopicTimeGranularitypublic final String timeGranularityAsString()
The level of time precision that is used to aggregate DateTime values.
If the service returns an enum value that is not available in the current SDK version, timeGranularity
will return TopicTimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from timeGranularityAsString().
DateTime values.TopicTimeGranularitypublic final 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, and BETWEEN.
If the service returns an enum value that is not available in the current SDK version,
relativeDateFilterFunction will return TopicRelativeDateFilterFunction.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from relativeDateFilterFunctionAsString().
BEFORE, AFTER, and
BETWEEN.TopicRelativeDateFilterFunctionpublic final String relativeDateFilterFunctionAsString()
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, and BETWEEN.
If the service returns an enum value that is not available in the current SDK version,
relativeDateFilterFunction will return TopicRelativeDateFilterFunction.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from relativeDateFilterFunctionAsString().
BEFORE, AFTER, and
BETWEEN.TopicRelativeDateFilterFunctionpublic final TopicSingularFilterConstant constant()
The constant used in a relative date filter.
public TopicRelativeDateFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TopicRelativeDateFilter.Builder,TopicRelativeDateFilter>public static TopicRelativeDateFilter.Builder builder()
public static Class<? extends TopicRelativeDateFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.