@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeRange extends Object implements Serializable, Cloneable, StructuredPojo
The time range.
Constructor and Description |
---|
TimeRange() |
Modifier and Type | Method and Description |
---|---|
TimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getFromInclusive()
The start time, in the format 2016-12-16T13:50Z.
|
Date |
getToExclusive()
The end time, in the format 2016-12-16T15:50Z.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFromInclusive(Date fromInclusive)
The start time, in the format 2016-12-16T13:50Z.
|
void |
setToExclusive(Date toExclusive)
The end time, in the format 2016-12-16T15:50Z.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TimeRange |
withFromInclusive(Date fromInclusive)
The start time, in the format 2016-12-16T13:50Z.
|
TimeRange |
withToExclusive(Date toExclusive)
The end time, in the format 2016-12-16T15:50Z.
|
public void setFromInclusive(Date fromInclusive)
The start time, in the format 2016-12-16T13:50Z.
fromInclusive
- The start time, in the format 2016-12-16T13:50Z.public Date getFromInclusive()
The start time, in the format 2016-12-16T13:50Z.
public TimeRange withFromInclusive(Date fromInclusive)
The start time, in the format 2016-12-16T13:50Z.
fromInclusive
- The start time, in the format 2016-12-16T13:50Z.public void setToExclusive(Date toExclusive)
The end time, in the format 2016-12-16T15:50Z.
toExclusive
- The end time, in the format 2016-12-16T15:50Z.public Date getToExclusive()
The end time, in the format 2016-12-16T15:50Z.
public TimeRange withToExclusive(Date toExclusive)
The end time, in the format 2016-12-16T15:50Z.
toExclusive
- The end time, in the format 2016-12-16T15:50Z.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.