@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledInstance extends Object implements Serializable, Cloneable
Describes a Scheduled Instance.
Constructor and Description |
---|
ScheduledInstance() |
Modifier and Type | Method and Description |
---|---|
ScheduledInstance |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone.
|
Date |
getCreateDate()
The date when the Scheduled Instance was purchased.
|
String |
getHourlyPrice()
The hourly price for a single instance.
|
Integer |
getInstanceCount()
The number of instances.
|
String |
getInstanceType()
The instance type.
|
String |
getNetworkPlatform()
The network platform.
|
Date |
getNextSlotStartTime()
The time for the next schedule to start.
|
String |
getPlatform()
The platform (
Linux/UNIX or Windows ). |
Date |
getPreviousSlotEndTime()
The time that the previous schedule ended or will end.
|
ScheduledInstanceRecurrence |
getRecurrence()
The schedule recurrence.
|
String |
getScheduledInstanceId()
The Scheduled Instance ID.
|
Integer |
getSlotDurationInHours()
The number of hours in the schedule.
|
Date |
getTermEndDate()
The end date for the Scheduled Instance.
|
Date |
getTermStartDate()
The start date for the Scheduled Instance.
|
Integer |
getTotalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setCreateDate(Date createDate)
The date when the Scheduled Instance was purchased.
|
void |
setHourlyPrice(String hourlyPrice)
The hourly price for a single instance.
|
void |
setInstanceCount(Integer instanceCount)
The number of instances.
|
void |
setInstanceType(String instanceType)
The instance type.
|
void |
setNetworkPlatform(String networkPlatform)
The network platform.
|
void |
setNextSlotStartTime(Date nextSlotStartTime)
The time for the next schedule to start.
|
void |
setPlatform(String platform)
The platform (
Linux/UNIX or Windows ). |
void |
setPreviousSlotEndTime(Date previousSlotEndTime)
The time that the previous schedule ended or will end.
|
void |
setRecurrence(ScheduledInstanceRecurrence recurrence)
The schedule recurrence.
|
void |
setScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
|
void |
setSlotDurationInHours(Integer slotDurationInHours)
The number of hours in the schedule.
|
void |
setTermEndDate(Date termEndDate)
The end date for the Scheduled Instance.
|
void |
setTermStartDate(Date termStartDate)
The start date for the Scheduled Instance.
|
void |
setTotalScheduledInstanceHours(Integer totalScheduledInstanceHours)
The total number of hours for a single instance for the entire term.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledInstance |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
ScheduledInstance |
withCreateDate(Date createDate)
The date when the Scheduled Instance was purchased.
|
ScheduledInstance |
withHourlyPrice(String hourlyPrice)
The hourly price for a single instance.
|
ScheduledInstance |
withInstanceCount(Integer instanceCount)
The number of instances.
|
ScheduledInstance |
withInstanceType(String instanceType)
The instance type.
|
ScheduledInstance |
withNetworkPlatform(String networkPlatform)
The network platform.
|
ScheduledInstance |
withNextSlotStartTime(Date nextSlotStartTime)
The time for the next schedule to start.
|
ScheduledInstance |
withPlatform(String platform)
The platform (
Linux/UNIX or Windows ). |
ScheduledInstance |
withPreviousSlotEndTime(Date previousSlotEndTime)
The time that the previous schedule ended or will end.
|
ScheduledInstance |
withRecurrence(ScheduledInstanceRecurrence recurrence)
The schedule recurrence.
|
ScheduledInstance |
withScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
|
ScheduledInstance |
withSlotDurationInHours(Integer slotDurationInHours)
The number of hours in the schedule.
|
ScheduledInstance |
withTermEndDate(Date termEndDate)
The end date for the Scheduled Instance.
|
ScheduledInstance |
withTermStartDate(Date termStartDate)
The start date for the Scheduled Instance.
|
ScheduledInstance |
withTotalScheduledInstanceHours(Integer totalScheduledInstanceHours)
The total number of hours for a single instance for the entire term.
|
public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public ScheduledInstance withAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public void setCreateDate(Date createDate)
The date when the Scheduled Instance was purchased.
createDate
- The date when the Scheduled Instance was purchased.public Date getCreateDate()
The date when the Scheduled Instance was purchased.
public ScheduledInstance withCreateDate(Date createDate)
The date when the Scheduled Instance was purchased.
createDate
- The date when the Scheduled Instance was purchased.public void setHourlyPrice(String hourlyPrice)
The hourly price for a single instance.
hourlyPrice
- The hourly price for a single instance.public String getHourlyPrice()
The hourly price for a single instance.
public ScheduledInstance withHourlyPrice(String hourlyPrice)
The hourly price for a single instance.
hourlyPrice
- The hourly price for a single instance.public void setInstanceCount(Integer instanceCount)
The number of instances.
instanceCount
- The number of instances.public Integer getInstanceCount()
The number of instances.
public ScheduledInstance withInstanceCount(Integer instanceCount)
The number of instances.
instanceCount
- The number of instances.public void setInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.public String getInstanceType()
The instance type.
public ScheduledInstance withInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.public void setNetworkPlatform(String networkPlatform)
The network platform.
networkPlatform
- The network platform.public String getNetworkPlatform()
The network platform.
public ScheduledInstance withNetworkPlatform(String networkPlatform)
The network platform.
networkPlatform
- The network platform.public void setNextSlotStartTime(Date nextSlotStartTime)
The time for the next schedule to start.
nextSlotStartTime
- The time for the next schedule to start.public Date getNextSlotStartTime()
The time for the next schedule to start.
public ScheduledInstance withNextSlotStartTime(Date nextSlotStartTime)
The time for the next schedule to start.
nextSlotStartTime
- The time for the next schedule to start.public void setPlatform(String platform)
The platform (Linux/UNIX
or Windows
).
platform
- The platform (Linux/UNIX
or Windows
).public String getPlatform()
The platform (Linux/UNIX
or Windows
).
Linux/UNIX
or Windows
).public ScheduledInstance withPlatform(String platform)
The platform (Linux/UNIX
or Windows
).
platform
- The platform (Linux/UNIX
or Windows
).public void setPreviousSlotEndTime(Date previousSlotEndTime)
The time that the previous schedule ended or will end.
previousSlotEndTime
- The time that the previous schedule ended or will end.public Date getPreviousSlotEndTime()
The time that the previous schedule ended or will end.
public ScheduledInstance withPreviousSlotEndTime(Date previousSlotEndTime)
The time that the previous schedule ended or will end.
previousSlotEndTime
- The time that the previous schedule ended or will end.public void setRecurrence(ScheduledInstanceRecurrence recurrence)
The schedule recurrence.
recurrence
- The schedule recurrence.public ScheduledInstanceRecurrence getRecurrence()
The schedule recurrence.
public ScheduledInstance withRecurrence(ScheduledInstanceRecurrence recurrence)
The schedule recurrence.
recurrence
- The schedule recurrence.public void setScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
scheduledInstanceId
- The Scheduled Instance ID.public String getScheduledInstanceId()
The Scheduled Instance ID.
public ScheduledInstance withScheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
scheduledInstanceId
- The Scheduled Instance ID.public void setSlotDurationInHours(Integer slotDurationInHours)
The number of hours in the schedule.
slotDurationInHours
- The number of hours in the schedule.public Integer getSlotDurationInHours()
The number of hours in the schedule.
public ScheduledInstance withSlotDurationInHours(Integer slotDurationInHours)
The number of hours in the schedule.
slotDurationInHours
- The number of hours in the schedule.public void setTermEndDate(Date termEndDate)
The end date for the Scheduled Instance.
termEndDate
- The end date for the Scheduled Instance.public Date getTermEndDate()
The end date for the Scheduled Instance.
public ScheduledInstance withTermEndDate(Date termEndDate)
The end date for the Scheduled Instance.
termEndDate
- The end date for the Scheduled Instance.public void setTermStartDate(Date termStartDate)
The start date for the Scheduled Instance.
termStartDate
- The start date for the Scheduled Instance.public Date getTermStartDate()
The start date for the Scheduled Instance.
public ScheduledInstance withTermStartDate(Date termStartDate)
The start date for the Scheduled Instance.
termStartDate
- The start date for the Scheduled Instance.public void setTotalScheduledInstanceHours(Integer totalScheduledInstanceHours)
The total number of hours for a single instance for the entire term.
totalScheduledInstanceHours
- The total number of hours for a single instance for the entire term.public Integer getTotalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
public ScheduledInstance withTotalScheduledInstanceHours(Integer totalScheduledInstanceHours)
The total number of hours for a single instance for the entire term.
totalScheduledInstanceHours
- The total number of hours for a single instance for the entire term.public String toString()
toString
in class Object
Object.toString()
public ScheduledInstance clone()