@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatetimeRange extends Object implements Serializable, Cloneable, StructuredPojo
Describes a time range, in ISO8601-UTC format.
| Constructor and Description |
|---|
DatetimeRange() |
| Modifier and Type | Method and Description |
|---|---|
DatetimeRange |
clone() |
boolean |
equals(Object obj) |
String |
getBegin()
Start of the time range.
|
String |
getEnd()
End of the time range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBegin(String begin)
Start of the time range.
|
void |
setEnd(String end)
End of the time range.
|
String |
toString()
Returns a string representation of this object.
|
DatetimeRange |
withBegin(String begin)
Start of the time range.
|
DatetimeRange |
withEnd(String end)
End of the time range.
|
public void setBegin(String begin)
Start of the time range.
begin - Start of the time range.public String getBegin()
Start of the time range.
public DatetimeRange withBegin(String begin)
Start of the time range.
begin - Start of the time range.public void setEnd(String end)
End of the time range.
end - End of the time range.public String getEnd()
End of the time range.
public DatetimeRange withEnd(String end)
End of the time range.
end - End of the time range.public String toString()
toString in class ObjectObject.toString()public DatetimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.