@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)
Marshalls this structured data using the given
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.TopicTimeGranularity
public String getTimeGranularity()
The level of time precision that is used to aggregate DateTime
values.
DateTime
values.TopicTimeGranularity
public 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.TopicTimeGranularity
public 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.TopicTimeGranularity
public 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
.TopicRelativeDateFilterFunction
public 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
.TopicRelativeDateFilterFunction
public 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
.TopicRelativeDateFilterFunction
public 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
.TopicRelativeDateFilterFunction
public 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 Object
Object.toString()
public TopicRelativeDateFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.