@Generated(value="software.amazon.awssdk:codegen") public final class TimeRangeFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeRangeFilter.Builder,TimeRangeFilter>
A TimeRangeFilter filters values that are between two specified values.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeRangeFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimeRangeFilter.Builder |
builder() |
ColumnIdentifier |
column()
The column that the filter is applied to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExcludePeriodConfiguration |
excludePeriodConfiguration()
The exclude period of the time range 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() |
Boolean |
includeMaximum()
Determines whether the maximum value in the filter value range should be included in the filtered results.
|
Boolean |
includeMinimum()
Determines whether the minimum value in the filter value range should be included in the filtered results.
|
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.
|
TimeRangeFilterValue |
rangeMaximumValue()
The maximum value for the filter value range.
|
TimeRangeFilterValue |
rangeMinimumValue()
The minimum value for the filter value range.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeRangeFilter.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. |
TimeRangeFilter.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 Boolean includeMinimum()
Determines whether the minimum value in the filter value range should be included in the filtered results.
public final Boolean includeMaximum()
Determines whether the maximum value in the filter value range should be included in the filtered results.
public final TimeRangeFilterValue rangeMinimumValue()
The minimum value for the filter value range.
public final TimeRangeFilterValue rangeMaximumValue()
The maximum value for the filter value range.
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 exclude period of the time range filter.
public 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 TimeRangeFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeRangeFilter.Builder,TimeRangeFilter>public static TimeRangeFilter.Builder builder()
public static Class<? extends TimeRangeFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.