Class CapacityBlockExtensionOffering
- All Implemented Interfaces:
 Serializable,SdkPojo,ToCopyableBuilder<CapacityBlockExtensionOffering.Builder,CapacityBlockExtensionOffering> 
The recommended Capacity Block extension that fits your search requirements.
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Availability Zone of the Capacity Block that will be extended.final StringThe Availability Zone ID of the Capacity Block that will be extended.builder()final IntegerThe amount of time of the Capacity Block extension offering in hours.final InstantThe date and time at which the Capacity Block extension expires.final StringThe ID of the Capacity Block extension offering.final InstantThe date and time at which the Capacity Block extension will start.final StringThe currency of the payment for the Capacity Block extension offering.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of instances in the Capacity Block extension offering.final StringThe instance type of the Capacity Block that will be extended.static Class<? extends CapacityBlockExtensionOffering.Builder> final InstantThe start date of the Capacity Block that will be extended.tenancy()Indicates the tenancy of the Capacity Block extension offering.final StringIndicates the tenancy of the Capacity Block extension offering.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 StringThe total price of the Capacity Block extension offering, to be paid up front.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
capacityBlockExtensionOfferingId
The ID of the Capacity Block extension offering.
- Returns:
 - The ID of the Capacity Block extension offering.
 
 - 
instanceType
The instance type of the Capacity Block that will be extended.
- Returns:
 - The instance type of the Capacity Block that will be extended.
 
 - 
instanceCount
The number of instances in the Capacity Block extension offering.
- Returns:
 - The number of instances in the Capacity Block extension offering.
 
 - 
availabilityZone
The Availability Zone of the Capacity Block that will be extended.
- Returns:
 - The Availability Zone of the Capacity Block that will be extended.
 
 - 
availabilityZoneId
The Availability Zone ID of the Capacity Block that will be extended.
- Returns:
 - The Availability Zone ID of the Capacity Block that will be extended.
 
 - 
startDate
The start date of the Capacity Block that will be extended.
- Returns:
 - The start date of the Capacity Block that will be extended.
 
 - 
capacityBlockExtensionStartDate
The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.
- Returns:
 - The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.
 
 - 
capacityBlockExtensionEndDate
The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to
expiredwhen it reaches its end date- Returns:
 - The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the
         reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state
         changes to 
expiredwhen it reaches its end date 
 - 
capacityBlockExtensionDurationHours
The amount of time of the Capacity Block extension offering in hours.
- Returns:
 - The amount of time of the Capacity Block extension offering in hours.
 
 - 
upfrontFee
The total price of the Capacity Block extension offering, to be paid up front.
- Returns:
 - The total price of the Capacity Block extension offering, to be paid up front.
 
 - 
currencyCode
The currency of the payment for the Capacity Block extension offering.
- Returns:
 - The currency of the payment for the Capacity Block extension offering.
 
 - 
tenancy
Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:
- 
 
default- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. - 
 
dedicated- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account. 
If the service returns an enum value that is not available in the current SDK version,
tenancywill returnCapacityReservationTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtenancyAsString().- Returns:
 - Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the
         following tenancy settings:
         
- 
         
default- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. - 
         
dedicated- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account. 
 - 
         
 - See Also:
 
 - 
 
 - 
tenancyAsString
Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:
- 
 
default- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. - 
 
dedicated- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account. 
If the service returns an enum value that is not available in the current SDK version,
tenancywill returnCapacityReservationTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtenancyAsString().- Returns:
 - Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the
         following tenancy settings:
         
- 
         
default- The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts. - 
         
dedicated- The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account. 
 - 
         
 - See Also:
 
 - 
 
 - 
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<CapacityBlockExtensionOffering.Builder,CapacityBlockExtensionOffering> - 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.
 
 
 -