@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeWindow extends Object implements Serializable, Cloneable, StructuredPojo
Filters evaluation results based on start and end times.
Constructor and Description |
---|
TimeWindow() |
Modifier and Type | Method and Description |
---|---|
TimeWindow |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of an execution.
|
Date |
getStartTime()
The start time of an execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The end time of an execution.
|
void |
setStartTime(Date startTime)
The start time of an execution.
|
String |
toString()
Returns a string representation of this object.
|
TimeWindow |
withEndTime(Date endTime)
The end time of an execution.
|
TimeWindow |
withStartTime(Date startTime)
The start time of an execution.
|
public void setStartTime(Date startTime)
The start time of an execution.
startTime
- The start time of an execution.public Date getStartTime()
The start time of an execution.
public TimeWindow withStartTime(Date startTime)
The start time of an execution.
startTime
- The start time of an execution.public void setEndTime(Date endTime)
The end time of an execution. The end time must be after the start date.
endTime
- The end time of an execution. The end time must be after the start date.public Date getEndTime()
The end time of an execution. The end time must be after the start date.
public TimeWindow withEndTime(Date endTime)
The end time of an execution. The end time must be after the start date.
endTime
- The end time of an execution. The end time must be after the start date.public String toString()
toString
in class Object
Object.toString()
public TimeWindow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.