Package com.amazonaws.services.ec2.model
Class SlotStartTimeRangeRequest
- java.lang.Object
-
- com.amazonaws.services.ec2.model.SlotStartTimeRangeRequest
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SlotStartTimeRangeRequest extends Object implements Serializable, Cloneable
Describes the time period for a Scheduled Instance to start its first schedule.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlotStartTimeRangeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlotStartTimeRangeRequest
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.SlotStartTimeRangeRequest
withEarliestTime(Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.SlotStartTimeRangeRequest
withLatestTime(Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
-
-
-
Method Detail
-
setEarliestTime
public void setEarliestTime(Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
- Parameters:
earliestTime
- The earliest date and time, in UTC, for the Scheduled Instance to start.
-
getEarliestTime
public Date getEarliestTime()
The earliest date and time, in UTC, for the Scheduled Instance to start.
- Returns:
- The earliest date and time, in UTC, for the Scheduled Instance to start.
-
withEarliestTime
public SlotStartTimeRangeRequest withEarliestTime(Date earliestTime)
The earliest date and time, in UTC, for the Scheduled Instance to start.
- Parameters:
earliestTime
- The earliest date and time, in UTC, for the Scheduled Instance to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLatestTime
public void setLatestTime(Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
- Parameters:
latestTime
- The latest date and time, in UTC, for the Scheduled Instance to start.
-
getLatestTime
public Date getLatestTime()
The latest date and time, in UTC, for the Scheduled Instance to start.
- Returns:
- The latest date and time, in UTC, for the Scheduled Instance to start.
-
withLatestTime
public SlotStartTimeRangeRequest withLatestTime(Date latestTime)
The latest date and time, in UTC, for the Scheduled Instance to start.
- Parameters:
latestTime
- The latest date and time, in UTC, for the Scheduled Instance to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SlotStartTimeRangeRequest clone()
-
-