Class CapacityReservationInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacityReservationInfo.Builder,CapacityReservationInfo>
Information about a Capacity Reservation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Availability Zone for the Capacity Reservation.final StringThe ID of the Availability Zone.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe instance type for the Capacity Reservation.static Class<? extends CapacityReservationInfo.Builder>tenancy()The tenancy of the Capacity Reservation.final StringThe tenancy of the Capacity Reservation.final StringtoString()Returns a string representation of this object.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
-
instanceType
The instance type for the Capacity Reservation.
- Returns:
- The instance type for the Capacity Reservation.
-
availabilityZone
The Availability Zone for the Capacity Reservation.
- Returns:
- The Availability Zone for the Capacity Reservation.
-
tenancy
The tenancy of the Capacity Reservation.
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:
- The tenancy of the Capacity Reservation.
- See Also:
-
tenancyAsString
The tenancy of the Capacity Reservation.
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:
- The tenancy of the Capacity Reservation.
- See Also:
-
availabilityZoneId
The ID of the Availability Zone.
- Returns:
- The ID of the Availability Zone.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CapacityReservationInfo.Builder,CapacityReservationInfo>
-
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
-