@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelativeDatesFilter extends Object implements Serializable, Cloneable, StructuredPojo
A RelativeDatesFilter filters relative dates values.
| Constructor and Description |
|---|
RelativeDatesFilter() |
| Modifier and Type | Method and Description |
|---|---|
RelativeDatesFilter |
clone() |
boolean |
equals(Object obj) |
AnchorDateConfiguration |
getAnchorDateConfiguration()
The date configuration of the filter.
|
ColumnIdentifier |
getColumn()
The column that the filter is applied to.
|
ExcludePeriodConfiguration |
getExcludePeriodConfiguration()
The configuration for the exclude period of the filter.
|
String |
getFilterId()
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
|
String |
getMinimumGranularity()
The minimum granularity (period granularity) of the relative dates filter.
|
String |
getNullOption()
This option determines how null values should be treated when filtering data.
|
String |
getParameterName()
The parameter whose value should be used for the filter value.
|
String |
getRelativeDateType()
The range date type of the filter.
|
Integer |
getRelativeDateValue()
The date value of the filter.
|
String |
getTimeGranularity()
The level of time precision that is used to aggregate
DateTime values. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAnchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
|
void |
setColumn(ColumnIdentifier column)
The column that the filter is applied to.
|
void |
setExcludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The configuration for the exclude period of the filter.
|
void |
setFilterId(String filterId)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
|
void |
setMinimumGranularity(String minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
|
void |
setNullOption(String nullOption)
This option determines how null values should be treated when filtering data.
|
void |
setParameterName(String parameterName)
The parameter whose value should be used for the filter value.
|
void |
setRelativeDateType(String relativeDateType)
The range date type of the filter.
|
void |
setRelativeDateValue(Integer relativeDateValue)
The date value of the filter.
|
void |
setTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
String |
toString()
Returns a string representation of this object.
|
RelativeDatesFilter |
withAnchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
|
RelativeDatesFilter |
withColumn(ColumnIdentifier column)
The column that the filter is applied to.
|
RelativeDatesFilter |
withExcludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The configuration for the exclude period of the filter.
|
RelativeDatesFilter |
withFilterId(String filterId)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
|
RelativeDatesFilter |
withMinimumGranularity(String minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
|
RelativeDatesFilter |
withMinimumGranularity(TimeGranularity minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
|
RelativeDatesFilter |
withNullOption(FilterNullOption nullOption)
This option determines how null values should be treated when filtering data.
|
RelativeDatesFilter |
withNullOption(String nullOption)
This option determines how null values should be treated when filtering data.
|
RelativeDatesFilter |
withParameterName(String parameterName)
The parameter whose value should be used for the filter value.
|
RelativeDatesFilter |
withRelativeDateType(RelativeDateType relativeDateType)
The range date type of the filter.
|
RelativeDatesFilter |
withRelativeDateType(String relativeDateType)
The range date type of the filter.
|
RelativeDatesFilter |
withRelativeDateValue(Integer relativeDateValue)
The date value of the filter.
|
RelativeDatesFilter |
withTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
RelativeDatesFilter |
withTimeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
public void setFilterId(String filterId)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
filterId - An identifier that uniquely identifies a filter within a dashboard, analysis, or template.public String getFilterId()
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
public RelativeDatesFilter withFilterId(String filterId)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
filterId - An identifier that uniquely identifies a filter within a dashboard, analysis, or template.public void setColumn(ColumnIdentifier column)
The column that the filter is applied to.
column - The column that the filter is applied to.public ColumnIdentifier getColumn()
The column that the filter is applied to.
public RelativeDatesFilter withColumn(ColumnIdentifier column)
The column that the filter is applied to.
column - The column that the filter is applied to.public void setAnchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
anchorDateConfiguration - The date configuration of the filter.public AnchorDateConfiguration getAnchorDateConfiguration()
The date configuration of the filter.
public RelativeDatesFilter withAnchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
anchorDateConfiguration - The date configuration of the filter.public void setMinimumGranularity(String minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
minimumGranularity - The minimum granularity (period granularity) of the relative dates filter.TimeGranularitypublic String getMinimumGranularity()
The minimum granularity (period granularity) of the relative dates filter.
TimeGranularitypublic RelativeDatesFilter withMinimumGranularity(String minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
minimumGranularity - The minimum granularity (period granularity) of the relative dates filter.TimeGranularitypublic RelativeDatesFilter withMinimumGranularity(TimeGranularity minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
minimumGranularity - The minimum granularity (period granularity) of the relative dates filter.TimeGranularitypublic void setTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularitypublic String getTimeGranularity()
The level of time precision that is used to aggregate DateTime values.
DateTime values.TimeGranularitypublic RelativeDatesFilter withTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularitypublic RelativeDatesFilter withTimeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularitypublic void setRelativeDateType(String relativeDateType)
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
relativeDateType - The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateTypepublic String getRelativeDateType()
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateTypepublic RelativeDatesFilter withRelativeDateType(String relativeDateType)
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
relativeDateType - The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateTypepublic RelativeDatesFilter withRelativeDateType(RelativeDateType relativeDateType)
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
relativeDateType - The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateTypepublic void setRelativeDateValue(Integer relativeDateValue)
The date value of the filter.
relativeDateValue - The date value of the filter.public Integer getRelativeDateValue()
The date value of the filter.
public RelativeDatesFilter withRelativeDateValue(Integer relativeDateValue)
The date value of the filter.
relativeDateValue - The date value of the filter.public void setParameterName(String parameterName)
The parameter whose value should be used for the filter value.
parameterName - The parameter whose value should be used for the filter value.public String getParameterName()
The parameter whose value should be used for the filter value.
public RelativeDatesFilter withParameterName(String parameterName)
The parameter whose value should be used for the filter value.
parameterName - The parameter whose value should be used for the filter value.public void setNullOption(String 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.
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.
FilterNullOptionpublic String getNullOption()
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.
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 RelativeDatesFilter withNullOption(String 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.
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.
FilterNullOptionpublic RelativeDatesFilter withNullOption(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.
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.
FilterNullOptionpublic void setExcludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The configuration for the exclude period of the filter.
excludePeriodConfiguration - The configuration for the exclude period of the filter.public ExcludePeriodConfiguration getExcludePeriodConfiguration()
The configuration for the exclude period of the filter.
public RelativeDatesFilter withExcludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The configuration for the exclude period of the filter.
excludePeriodConfiguration - The configuration for the exclude period of the filter.public String toString()
toString in class ObjectObject.toString()public RelativeDatesFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.