@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchContactsTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
A structure of time range that you want to search results.
| Constructor and Description |
|---|
SearchContactsTimeRange() |
| Modifier and Type | Method and Description |
|---|---|
SearchContactsTimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the time range.
|
Date |
getStartTime()
The start time of the time range.
|
String |
getType()
The type of timestamp to search.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEndTime(Date endTime)
The end time of the time range.
|
void |
setStartTime(Date startTime)
The start time of the time range.
|
void |
setType(String type)
The type of timestamp to search.
|
String |
toString()
Returns a string representation of this object.
|
SearchContactsTimeRange |
withEndTime(Date endTime)
The end time of the time range.
|
SearchContactsTimeRange |
withStartTime(Date startTime)
The start time of the time range.
|
SearchContactsTimeRange |
withType(SearchContactsTimeRangeType type)
The type of timestamp to search.
|
SearchContactsTimeRange |
withType(String type)
The type of timestamp to search.
|
public void setType(String type)
The type of timestamp to search.
type - The type of timestamp to search.SearchContactsTimeRangeTypepublic String getType()
The type of timestamp to search.
SearchContactsTimeRangeTypepublic SearchContactsTimeRange withType(String type)
The type of timestamp to search.
type - The type of timestamp to search.SearchContactsTimeRangeTypepublic SearchContactsTimeRange withType(SearchContactsTimeRangeType type)
The type of timestamp to search.
type - The type of timestamp to search.SearchContactsTimeRangeTypepublic void setStartTime(Date startTime)
The start time of the time range.
startTime - The start time of the time range.public Date getStartTime()
The start time of the time range.
public SearchContactsTimeRange withStartTime(Date startTime)
The start time of the time range.
startTime - The start time of the time range.public void setEndTime(Date endTime)
The end time of the time range.
endTime - The end time of the time range.public Date getEndTime()
The end time of the time range.
public SearchContactsTimeRange withEndTime(Date endTime)
The end time of the time range.
endTime - The end time of the time range.public String toString()
toString in class ObjectObject.toString()public SearchContactsTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.