@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicRelativeDateFilter extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a relative date filter.
| Constructor and Description |
|---|
TopicRelativeDateFilter() |
| Modifier and Type | Method and Description |
|---|---|
TopicRelativeDateFilter |
clone() |
boolean |
equals(Object obj) |
TopicSingularFilterConstant |
getConstant()
The constant used in a relative date filter.
|
String |
getRelativeDateFilterFunction()
The function to be used in a relative date filter to determine the range of dates to include in the results.
|
String |
getTimeGranularity()
The level of time precision that is used to aggregate
DateTime values. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConstant(TopicSingularFilterConstant constant)
The constant used in a relative date filter.
|
void |
setRelativeDateFilterFunction(String relativeDateFilterFunction)
The function to be used in a relative date filter to determine the range of dates to include in the results.
|
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.
|
TopicRelativeDateFilter |
withConstant(TopicSingularFilterConstant constant)
The constant used in a relative date filter.
|
TopicRelativeDateFilter |
withRelativeDateFilterFunction(String relativeDateFilterFunction)
The function to be used in a relative date filter to determine the range of dates to include in the results.
|
TopicRelativeDateFilter |
withRelativeDateFilterFunction(TopicRelativeDateFilterFunction relativeDateFilterFunction)
The function to be used in a relative date filter to determine the range of dates to include in the results.
|
TopicRelativeDateFilter |
withTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
TopicRelativeDateFilter |
withTimeGranularity(TopicTimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
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.TopicTimeGranularitypublic String getTimeGranularity()
The level of time precision that is used to aggregate DateTime values.
DateTime values.TopicTimeGranularitypublic TopicRelativeDateFilter 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.TopicTimeGranularitypublic TopicRelativeDateFilter withTimeGranularity(TopicTimeGranularity 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.TopicTimeGranularitypublic void setRelativeDateFilterFunction(String 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.
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.TopicRelativeDateFilterFunctionpublic String getRelativeDateFilterFunction()
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.
BEFORE, AFTER, and
BETWEEN.TopicRelativeDateFilterFunctionpublic TopicRelativeDateFilter withRelativeDateFilterFunction(String 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.
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.TopicRelativeDateFilterFunctionpublic TopicRelativeDateFilter withRelativeDateFilterFunction(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.
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.TopicRelativeDateFilterFunctionpublic void setConstant(TopicSingularFilterConstant constant)
The constant used in a relative date filter.
constant - The constant used in a relative date filter.public TopicSingularFilterConstant getConstant()
The constant used in a relative date filter.
public TopicRelativeDateFilter withConstant(TopicSingularFilterConstant constant)
The constant used in a relative date filter.
constant - The constant used in a relative date filter.public String toString()
toString in class ObjectObject.toString()public TopicRelativeDateFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.