@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventTimeRange extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EventTimeRange() |
Modifier and Type | Method and Description |
---|---|
EventTimeRange |
clone() |
boolean |
equals(Object obj) |
Date |
getFromTime() |
Date |
getToTime() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFromTime(Date fromTime) |
void |
setToTime(Date toTime) |
String |
toString()
Returns a string representation of this object.
|
EventTimeRange |
withFromTime(Date fromTime) |
EventTimeRange |
withToTime(Date toTime) |
public void setFromTime(Date fromTime)
fromTime
- public Date getFromTime()
public EventTimeRange withFromTime(Date fromTime)
fromTime
- public void setToTime(Date toTime)
toTime
- public Date getToTime()
public EventTimeRange withToTime(Date toTime)
toTime
- public String toString()
toString
in class Object
Object.toString()
public EventTimeRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.