@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.
|
DefaultFilterControlConfiguration |
getDefaultFilterControlConfiguration()
The default configurations for the associated controls.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
|
void |
setColumn(ColumnIdentifier column)
The column that the filter is applied to.
|
void |
setDefaultFilterControlConfiguration(DefaultFilterControlConfiguration defaultFilterControlConfiguration)
The default configurations for the associated controls.
|
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 |
withDefaultFilterControlConfiguration(DefaultFilterControlConfiguration defaultFilterControlConfiguration)
The default configurations for the associated controls.
|
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.TimeGranularity
public String getMinimumGranularity()
The minimum granularity (period granularity) of the relative dates filter.
TimeGranularity
public 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.TimeGranularity
public 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.TimeGranularity
public 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.TimeGranularity
public String getTimeGranularity()
The level of time precision that is used to aggregate DateTime
values.
DateTime
values.TimeGranularity
public 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.TimeGranularity
public 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.TimeGranularity
public 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
RelativeDateType
public 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
RelativeDateType
public 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
RelativeDateType
public 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
RelativeDateType
public 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.
FilterNullOption
public 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.
FilterNullOption
public 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.
FilterNullOption
public 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.
FilterNullOption
public 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 void setDefaultFilterControlConfiguration(DefaultFilterControlConfiguration defaultFilterControlConfiguration)
The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
defaultFilterControlConfiguration
- The default configurations for the associated controls. This applies only for filters that are scoped to
multiple sheets.public DefaultFilterControlConfiguration getDefaultFilterControlConfiguration()
The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
public RelativeDatesFilter withDefaultFilterControlConfiguration(DefaultFilterControlConfiguration defaultFilterControlConfiguration)
The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
defaultFilterControlConfiguration
- The default configurations for the associated controls. This applies only for filters that are scoped to
multiple sheets.public String toString()
toString
in class Object
Object.toString()
public RelativeDatesFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.