public class SlotStartTimeRangeRequest
extends java.lang.Object
implements java.io.Serializable
Describes the time period for a Scheduled Instance to start its first schedule.
Constructor and Description |
---|
SlotStartTimeRangeRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.util.Date getEarliestTime()
public void setEarliestTime(java.util.Date earliestTime)
earliestTime
- The earliest date and time, in UTC, for the Scheduled Instance to
start.public SlotStartTimeRangeRequest withEarliestTime(java.util.Date earliestTime)
Returns a reference to this object so that method calls can be chained together.
earliestTime
- The earliest date and time, in UTC, for the Scheduled Instance to
start.public java.util.Date getLatestTime()
public void setLatestTime(java.util.Date latestTime)
latestTime
- The latest date and time, in UTC, for the Scheduled Instance to start.public SlotStartTimeRangeRequest withLatestTime(java.util.Date latestTime)
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.