@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimePeriod extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
TimePeriod() |
Modifier and Type | Method and Description |
---|---|
TimePeriod |
clone() |
boolean |
equals(Object obj) |
Date |
getEnd() |
Date |
getStart() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnd(Date end) |
void |
setStart(Date start) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TimePeriod |
withEnd(Date end) |
TimePeriod |
withStart(Date start) |
public void setStart(Date start)
start
- public Date getStart()
public TimePeriod withStart(Date start)
start
- public void setEnd(Date end)
end
- public Date getEnd()
public TimePeriod withEnd(Date end)
end
- public String toString()
toString
in class Object
Object.toString()
public TimePeriod clone()
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.