@Generated(value="software.amazon.awssdk:codegen") public final class ScheduledInstanceAvailability extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledInstanceAvailability.Builder,ScheduledInstanceAvailability>
Describes a schedule that is available for your Scheduled Instances.
Modifier and Type | Class and Description |
---|---|
static interface |
ScheduledInstanceAvailability.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The Availability Zone.
|
Integer |
availableInstanceCount()
The number of available instances.
|
static ScheduledInstanceAvailability.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
firstSlotStartTime()
The time period for the first schedule to start.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hourlyPrice()
The hourly price for a single instance.
|
String |
instanceType()
The instance type.
|
Integer |
maxTermDurationInDays()
The maximum term.
|
Integer |
minTermDurationInDays()
The minimum term.
|
String |
networkPlatform()
The network platform (
EC2-Classic or EC2-VPC ). |
String |
platform()
The platform (
Linux/UNIX or Windows ). |
String |
purchaseToken()
The purchase token.
|
ScheduledInstanceRecurrence |
recurrence()
The schedule recurrence.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScheduledInstanceAvailability.Builder> |
serializableBuilderClass() |
Integer |
slotDurationInHours()
The number of hours in the schedule.
|
ScheduledInstanceAvailability.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 Integer availableInstanceCount()
The number of available instances.
public final Instant firstSlotStartTime()
The time period for the first schedule to start.
public final String hourlyPrice()
The hourly price for a single instance.
public final String instanceType()
The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
public final Integer maxTermDurationInDays()
The maximum term. The only possible value is 365 days.
public final Integer minTermDurationInDays()
The minimum term. The only possible value is 365 days.
public final String networkPlatform()
The network platform (EC2-Classic
or EC2-VPC
).
EC2-Classic
or EC2-VPC
).public final String platform()
The platform (Linux/UNIX
or Windows
).
Linux/UNIX
or Windows
).public final String purchaseToken()
The purchase token. This token expires in two hours.
public final ScheduledInstanceRecurrence recurrence()
The schedule recurrence.
public final Integer slotDurationInHours()
The number of hours in the schedule.
public final Integer totalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
public ScheduledInstanceAvailability.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ScheduledInstanceAvailability.Builder,ScheduledInstanceAvailability>
public static ScheduledInstanceAvailability.Builder builder()
public static Class<? extends ScheduledInstanceAvailability.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.