public class SlotDateTimeRangeRequest
extends java.lang.Object
implements java.io.Serializable
Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.
Constructor and Description |
---|
SlotDateTimeRangeRequest() |
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.
|
SlotDateTimeRangeRequest |
withEarliestTime(java.util.Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to
start.
|
SlotDateTimeRangeRequest |
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 SlotDateTimeRangeRequest 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.
This value must be later than or equal to the earliest date and at
most three months in the future.public SlotDateTimeRangeRequest 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.
This value must be later than or equal to the earliest date and at
most three months in the future.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.