@Generated(value="software.amazon.awssdk:codegen") public final class CapacityBlockOffering extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CapacityBlockOffering.Builder,CapacityBlockOffering>
The recommended Capacity Block that fits your search requirements.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CapacityBlockOffering.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The Availability Zone of the Capacity Block offering.
|
static CapacityBlockOffering.Builder |
builder() |
Integer |
capacityBlockDurationHours()
The amount of time of the Capacity Block reservation in hours.
|
String |
capacityBlockOfferingId()
The ID of the Capacity Block offering.
|
String |
currencyCode()
The currency of the payment for the Capacity Block.
|
Instant |
endDate()
The end date of the Capacity Block offering.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
The number of instances in the Capacity Block offering.
|
String |
instanceType()
The instance type of the Capacity Block offering.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CapacityBlockOffering.Builder> |
serializableBuilderClass() |
Instant |
startDate()
The start date of the Capacity Block offering.
|
CapacityReservationTenancy |
tenancy()
The tenancy of the Capacity Block.
|
String |
tenancyAsString()
The tenancy of the Capacity Block.
|
CapacityBlockOffering.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
upfrontFee()
The total price to be paid up front.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String capacityBlockOfferingId()
The ID of the Capacity Block offering.
public final String instanceType()
The instance type of the Capacity Block offering.
public final String availabilityZone()
The Availability Zone of the Capacity Block offering.
public final Integer instanceCount()
The number of instances in the Capacity Block offering.
public final Instant startDate()
The start date of the Capacity Block offering.
public final Instant endDate()
The end date of the Capacity Block offering.
public final Integer capacityBlockDurationHours()
The amount of time of the Capacity Block reservation in hours.
public final String upfrontFee()
The total price to be paid up front.
public final String currencyCode()
The currency of the payment for the Capacity Block.
public final CapacityReservationTenancy tenancy()
The tenancy of the Capacity Block.
If the service returns an enum value that is not available in the current SDK version, tenancy will
return CapacityReservationTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from tenancyAsString().
CapacityReservationTenancypublic final String tenancyAsString()
The tenancy of the Capacity Block.
If the service returns an enum value that is not available in the current SDK version, tenancy will
return CapacityReservationTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from tenancyAsString().
CapacityReservationTenancypublic CapacityBlockOffering.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CapacityBlockOffering.Builder,CapacityBlockOffering>public static CapacityBlockOffering.Builder builder()
public static Class<? extends CapacityBlockOffering.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.