Class ScheduledInstanceAvailability
java.lang.Object
software.amazon.awssdk.services.ec2.model.ScheduledInstanceAvailability
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduledInstanceAvailability.Builder,ScheduledInstanceAvailability>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Availability Zone.final IntegerThe number of available instances.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final InstantThe time period for the first schedule to start.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe hourly price for a single instance.final StringThe instance type.final IntegerThe maximum term.final IntegerThe minimum term.final StringThe network platform.final Stringplatform()The platform (Linux/UNIXorWindows).final StringThe purchase token.The schedule recurrence.static Class<? extends ScheduledInstanceAvailability.Builder>final IntegerThe number of hours in the schedule.final StringtoString()Returns a string representation of this object.final IntegerThe total number of hours for a single instance for the entire term.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
availabilityZone
The Availability Zone.
- Returns:
- The Availability Zone.
-
availableInstanceCount
The number of available instances.
- Returns:
- The number of available instances.
-
firstSlotStartTime
The time period for the first schedule to start.
- Returns:
- The time period for the first schedule to start.
-
hourlyPrice
The hourly price for a single instance.
- Returns:
- The hourly price for a single instance.
-
instanceType
The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
- Returns:
- The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
-
maxTermDurationInDays
The maximum term. The only possible value is 365 days.
- Returns:
- The maximum term. The only possible value is 365 days.
-
minTermDurationInDays
The minimum term. The only possible value is 365 days.
- Returns:
- The minimum term. The only possible value is 365 days.
-
networkPlatform
The network platform.
- Returns:
- The network platform.
-
platform
The platform (
Linux/UNIXorWindows).- Returns:
- The platform (
Linux/UNIXorWindows).
-
purchaseToken
The purchase token. This token expires in two hours.
- Returns:
- The purchase token. This token expires in two hours.
-
recurrence
The schedule recurrence.
- Returns:
- The schedule recurrence.
-
slotDurationInHours
The number of hours in the schedule.
- Returns:
- The number of hours in the schedule.
-
totalScheduledInstanceHours
The total number of hours for a single instance for the entire term.
- Returns:
- The total number of hours for a single instance for the entire term.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledInstanceAvailability.Builder,ScheduledInstanceAvailability>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-