Class ScheduledInstanceAvailability
- All Implemented Interfaces:
Serializable,SdkPojo,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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.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 interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
availabilityZone
-
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
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledInstanceAvailability.Builder,ScheduledInstanceAvailability> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-