@Generated(value="software.amazon.awssdk:codegen") public final class ScheduledInstance extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String availabilityZone()
The Availability Zone.
public final Instant createDate()
The date when the Scheduled Instance was purchased.
public final String hourlyPrice()
The hourly price for a single instance.
public final Integer instanceCount()
The number of instances.
public final String instanceType()
The instance type.
public final String networkPlatform()
The network platform (EC2-Classic
or EC2-VPC
).
EC2-Classic
or EC2-VPC
).public final Instant nextSlotStartTime()
The time for the next schedule to start.
public final String platform()
The platform (Linux/UNIX
or Windows
).
Linux/UNIX
or Windows
).public final Instant previousSlotEndTime()
The time that the previous schedule ended or will end.
public final ScheduledInstanceRecurrence recurrence()
The schedule recurrence.
public final String scheduledInstanceId()
The Scheduled Instance ID.
public final Integer slotDurationInHours()
The number of hours in the schedule.
public final Instant termEndDate()
The end date for the Scheduled Instance.
public final Instant termStartDate()
The start date for the Scheduled Instance.
public final Integer totalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
public ScheduledInstance.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ScheduledInstance.Builder,ScheduledInstance>
public static ScheduledInstance.Builder builder()
public static Class<? extends ScheduledInstance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.