@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotDateTimeRangeRequest extends Object implements Serializable, Cloneable
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 |
---|---|
SlotDateTimeRangeRequest |
clone() |
boolean |
equals(Object obj) |
Date |
getEarliestTime()
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
Date |
getLatestTime()
The latest date and time, in UTC, for the Scheduled Instance to start.
|
int |
hashCode() |
void |
setEarliestTime(Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
void |
setLatestTime(Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SlotDateTimeRangeRequest |
withEarliestTime(Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
SlotDateTimeRangeRequest |
withLatestTime(Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
|
public void setEarliestTime(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 Date getEarliestTime()
The earliest date and time, in UTC, for the Scheduled Instance to start.
public SlotDateTimeRangeRequest withEarliestTime(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(Date 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.
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 Date getLatestTime()
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(Date 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.
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 String toString()
toString
in class Object
Object.toString()
public SlotDateTimeRangeRequest clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.