@Generated(value="software.amazon.awssdk:codegen") public final class RelativeDatesFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelativeDatesFilter.Builder,RelativeDatesFilter>
A RelativeDatesFilter filters relative dates values.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RelativeDatesFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
AnchorDateConfiguration |
anchorDateConfiguration()
The date configuration of the filter.
|
static RelativeDatesFilter.Builder |
builder() |
ColumnIdentifier |
column()
The column that the filter is applied to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExcludePeriodConfiguration |
excludePeriodConfiguration()
The configuration for the exclude period of the filter.
|
String |
filterId()
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TimeGranularity |
minimumGranularity()
The minimum granularity (period granularity) of the relative dates filter.
|
String |
minimumGranularityAsString()
The minimum granularity (period granularity) of the relative dates filter.
|
FilterNullOption |
nullOption()
This option determines how null values should be treated when filtering data.
|
String |
nullOptionAsString()
This option determines how null values should be treated when filtering data.
|
String |
parameterName()
The parameter whose value should be used for the filter value.
|
RelativeDateType |
relativeDateType()
The range date type of the filter.
|
String |
relativeDateTypeAsString()
The range date type of the filter.
|
Integer |
relativeDateValue()
The date value of the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RelativeDatesFilter.Builder> |
serializableBuilderClass() |
TimeGranularity |
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. |
RelativeDatesFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String filterId()
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
public final ColumnIdentifier column()
The column that the filter is applied to.
public final AnchorDateConfiguration anchorDateConfiguration()
The date configuration of the filter.
public final TimeGranularity minimumGranularity()
The minimum granularity (period granularity) of the relative dates filter.
If the service returns an enum value that is not available in the current SDK version,
minimumGranularity will return TimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from minimumGranularityAsString().
TimeGranularitypublic final String minimumGranularityAsString()
The minimum granularity (period granularity) of the relative dates filter.
If the service returns an enum value that is not available in the current SDK version,
minimumGranularity will return TimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from minimumGranularityAsString().
TimeGranularitypublic final TimeGranularity 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 TimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from timeGranularityAsString().
DateTime values.TimeGranularitypublic 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 TimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from timeGranularityAsString().
DateTime values.TimeGranularitypublic final RelativeDateType relativeDateType()
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
If the service returns an enum value that is not available in the current SDK version, relativeDateType
will return RelativeDateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from relativeDateTypeAsString().
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateTypepublic final String relativeDateTypeAsString()
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
If the service returns an enum value that is not available in the current SDK version, relativeDateType
will return RelativeDateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from relativeDateTypeAsString().
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateTypepublic final Integer relativeDateValue()
The date value of the filter.
public final String parameterName()
The parameter whose value should be used for the filter value.
public final FilterNullOption nullOption()
This option determines how null values should be treated when filtering data.
ALL_VALUES: Include null values in filtered results.
NULLS_ONLY: Only include null values in filtered results.
NON_NULLS_ONLY: Exclude null values from filtered results.
If the service returns an enum value that is not available in the current SDK version, nullOption will
return FilterNullOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nullOptionAsString().
ALL_VALUES: Include null values in filtered results.
NULLS_ONLY: Only include null values in filtered results.
NON_NULLS_ONLY: Exclude null values from filtered results.
FilterNullOptionpublic final String nullOptionAsString()
This option determines how null values should be treated when filtering data.
ALL_VALUES: Include null values in filtered results.
NULLS_ONLY: Only include null values in filtered results.
NON_NULLS_ONLY: Exclude null values from filtered results.
If the service returns an enum value that is not available in the current SDK version, nullOption will
return FilterNullOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nullOptionAsString().
ALL_VALUES: Include null values in filtered results.
NULLS_ONLY: Only include null values in filtered results.
NON_NULLS_ONLY: Exclude null values from filtered results.
FilterNullOptionpublic final ExcludePeriodConfiguration excludePeriodConfiguration()
The configuration for the exclude period of the filter.
public RelativeDatesFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RelativeDatesFilter.Builder,RelativeDatesFilter>public static RelativeDatesFilter.Builder builder()
public static Class<? extends RelativeDatesFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.