@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateInterval extends Object implements Serializable, Cloneable, StructuredPojo
Date and time (UTC) format in RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
Constructor and Description |
---|
DateInterval() |
Modifier and Type | Method and Description |
---|---|
DateInterval |
clone() |
boolean |
equals(Object obj) |
String |
getEndDateTime()
End Date Time (UTC).
|
String |
getStartDateTime()
A JSON object containing start and date time (UTC).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndDateTime(String endDateTime)
End Date Time (UTC).
|
void |
setStartDateTime(String startDateTime)
A JSON object containing start and date time (UTC).
|
String |
toString()
Returns a string representation of this object.
|
DateInterval |
withEndDateTime(String endDateTime)
End Date Time (UTC).
|
DateInterval |
withStartDateTime(String startDateTime)
A JSON object containing start and date time (UTC).
|
public void setStartDateTime(String startDateTime)
A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
startDateTime
- A JSON object containing start and date time (UTC). Date and time format is RFC 3339 :
'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.public String getStartDateTime()
A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
public DateInterval withStartDateTime(String startDateTime)
A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
startDateTime
- A JSON object containing start and date time (UTC). Date and time format is RFC 3339 :
'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.public void setEndDateTime(String endDateTime)
End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
endDateTime
- End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.public String getEndDateTime()
End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
public DateInterval withEndDateTime(String endDateTime)
End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
endDateTime
- End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.public String toString()
toString
in class Object
Object.toString()
public DateInterval clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.