public class SlotStartTimeRangeRequest
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the time period for a Scheduled Instance to start its first schedule.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
earliestTime
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
private java.util.Date |
latestTime
The latest date and time, in UTC, for the Scheduled Instance to start.
|
Constructor and Description |
---|
SlotStartTimeRangeRequest() |
Modifier and Type | Method and Description |
---|---|
SlotStartTimeRangeRequest |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEarliestTime()
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
java.util.Date |
getLatestTime()
The latest date and time, in UTC, for the Scheduled Instance to start.
|
int |
hashCode() |
void |
setEarliestTime(java.util.Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
void |
setLatestTime(java.util.Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SlotStartTimeRangeRequest |
withEarliestTime(java.util.Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
SlotStartTimeRangeRequest |
withLatestTime(java.util.Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
|
private java.util.Date earliestTime
The earliest date and time, in UTC, for the Scheduled Instance to start.
private java.util.Date latestTime
The latest date and time, in UTC, for the Scheduled Instance to start.
public void setEarliestTime(java.util.Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
earliestTime
- The earliest date and time, in UTC, for the Scheduled Instance to
start.public java.util.Date getEarliestTime()
The earliest date and time, in UTC, for the Scheduled Instance to start.
public SlotStartTimeRangeRequest withEarliestTime(java.util.Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
earliestTime
- The earliest date and time, in UTC, for the Scheduled Instance to
start.public void setLatestTime(java.util.Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
latestTime
- The latest date and time, in UTC, for the Scheduled Instance to
start.public java.util.Date getLatestTime()
The latest date and time, in UTC, for the Scheduled Instance to start.
public SlotStartTimeRangeRequest withLatestTime(java.util.Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
latestTime
- The latest date and time, in UTC, for the Scheduled Instance to
start.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SlotStartTimeRangeRequest clone()
clone
in class java.lang.Object