@Generated(value="software.amazon.awssdk:codegen") public final class ScheduledInstanceAvailability extends Object implements 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) |
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.
|
static Class<? extends ScheduledInstanceAvailability.Builder> |
serializableBuilderClass() |
Integer |
slotDurationInHours()
The number of hours in the schedule.
|
ScheduledInstanceAvailability.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 Integer availableInstanceCount()
The number of available instances.
public Instant firstSlotStartTime()
The time period for the first schedule to start.
public String hourlyPrice()
The hourly price for a single instance.
public String instanceType()
The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
public Integer maxTermDurationInDays()
The maximum term. The only possible value is 365 days.
public Integer minTermDurationInDays()
The minimum term. The only possible value is 365 days.
public String networkPlatform()
The network platform (EC2-Classic
or EC2-VPC
).
EC2-Classic
or EC2-VPC
).public String platform()
The platform (Linux/UNIX
or Windows
).
Linux/UNIX
or Windows
).public String purchaseToken()
The purchase token. This token expires in two hours.
public ScheduledInstanceRecurrence recurrence()
The schedule recurrence.
public Integer slotDurationInHours()
The number of hours in the schedule.
public Integer totalScheduledInstanceHours()
The total number of hours for a single instance for the entire term.
public ScheduledInstanceAvailability.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScheduledInstanceAvailability.Builder,ScheduledInstanceAvailability>
public static ScheduledInstanceAvailability.Builder builder()
public static Class<? extends ScheduledInstanceAvailability.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.