@Generated(value="software.amazon.awssdk:codegen") public final class ScheduledInstance extends Object implements ToCopyableBuilder<ScheduledInstance.Builder,ScheduledInstance>
Describes a Scheduled Instance.
Modifier and Type | Class and Description |
---|---|
static interface |
ScheduledInstance.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The Availability Zone.
|
static ScheduledInstance.Builder |
builder() |
Instant |
createDate()
The date when the Scheduled Instance was purchased.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hourlyPrice()
The hourly price for a single instance.
|
Integer |
instanceCount()
The number of instances.
|
String |
instanceType()
The instance type.
|
String |
networkPlatform()
The network platform (
EC2-Classic or EC2-VPC ). |
Instant |
nextSlotStartTime()
The time for the next schedule to start.
|
String |
platform()
The platform (
Linux/UNIX or Windows ). |
Instant |
previousSlotEndTime()
The time that the previous schedule ended or will end.
|
ScheduledInstanceRecurrence |
recurrence()
The schedule recurrence.
|
String |
scheduledInstanceId()
The Scheduled Instance ID.
|
static Class<? extends ScheduledInstance.Builder> |
serializableBuilderClass() |
Integer |
slotDurationInHours()
The number of hours in the schedule.
|
Instant |
termEndDate()
The end date for the Scheduled Instance.
|
Instant |
termStartDate()
The start date for the Scheduled Instance.
|
ScheduledInstance.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
totalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
|
copy
public String availabilityZone()
The Availability Zone.
public Instant createDate()
The date when the Scheduled Instance was purchased.
public String hourlyPrice()
The hourly price for a single instance.
public Integer instanceCount()
The number of instances.
public String instanceType()
The instance type.
public String networkPlatform()
The network platform (EC2-Classic
or EC2-VPC
).
EC2-Classic
or EC2-VPC
).public Instant nextSlotStartTime()
The time for the next schedule to start.
public String platform()
The platform (Linux/UNIX
or Windows
).
Linux/UNIX
or Windows
).public Instant previousSlotEndTime()
The time that the previous schedule ended or will end.
public ScheduledInstanceRecurrence recurrence()
The schedule recurrence.
public String scheduledInstanceId()
The Scheduled Instance ID.
public Integer slotDurationInHours()
The number of hours in the schedule.
public Instant termEndDate()
The end date for the Scheduled Instance.
public Instant termStartDate()
The start date for the Scheduled Instance.
public Integer totalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
public ScheduledInstance.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScheduledInstance.Builder,ScheduledInstance>
public static ScheduledInstance.Builder builder()
public static Class<? extends ScheduledInstance.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.