Class CapacityAllocation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacityAllocation.Builder,CapacityAllocation>
Contains the submission time of a single allocation request for a capacity reservation and the most recent status of the attempted allocation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CapacityAllocation.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe time when the capacity allocation request was completed.final InstantThe time when the capacity allocation was requested.static Class<? extends CapacityAllocation.Builder>final CapacityAllocationStatusstatus()The status of the capacity allocation.final StringThe status of the capacity allocation.final StringThe status message of the capacity allocation.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
-
status
The status of the capacity allocation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCapacityAllocationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the capacity allocation.
- See Also:
-
statusAsString
The status of the capacity allocation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCapacityAllocationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the capacity allocation.
- See Also:
-
statusMessage
The status message of the capacity allocation.
- Returns:
- The status message of the capacity allocation.
-
requestTime
The time when the capacity allocation was requested.
- Returns:
- The time when the capacity allocation was requested.
-
requestCompletionTime
The time when the capacity allocation request was completed.
- Returns:
- The time when the capacity allocation request was completed.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CapacityAllocation.Builder,CapacityAllocation>
-
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
-