Class CapacityReservationStatus
java.lang.Object
software.amazon.awssdk.services.ec2.model.CapacityReservationStatus
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacityReservationStatus.Builder,CapacityReservationStatus>
@Generated("software.amazon.awssdk:codegen")
public final class CapacityReservationStatus
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<CapacityReservationStatus.Builder,CapacityReservationStatus>
Describes the availability of capacity for a Capacity Reservation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe ID of the Capacity Reservation.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends CapacityReservationStatus.Builder>final StringtoString()Returns a string representation of this object.final IntegerThe remaining capacity.final IntegerThe combined amount ofAvailableandUnavailablecapacity in the Capacity Reservation.final IntegerThe used capacity.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
-
capacityReservationId
The ID of the Capacity Reservation.
- Returns:
- The ID of the Capacity Reservation.
-
totalCapacity
The combined amount of
AvailableandUnavailablecapacity in the Capacity Reservation.- Returns:
- The combined amount of
AvailableandUnavailablecapacity in the Capacity Reservation.
-
totalAvailableCapacity
The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.
- Returns:
- The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CapacityReservationStatus.Builder,CapacityReservationStatus>
-
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
-