Class CapacityReservationFleetCancellationState
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacityReservationFleetCancellationState.Builder,CapacityReservationFleetCancellationState>
Describes a Capacity Reservation Fleet that was successfully cancelled.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe ID of the Capacity Reservation Fleet that was successfully cancelled.The current state of the Capacity Reservation Fleet.final StringThe current state of the Capacity Reservation Fleet.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The previous state of the Capacity Reservation Fleet.final StringThe previous state of the Capacity Reservation Fleet.static Class<? extends CapacityReservationFleetCancellationState.Builder>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
-
currentFleetState
The current state of the Capacity Reservation Fleet.
If the service returns an enum value that is not available in the current SDK version,
currentFleetStatewill returnCapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentFleetStateAsString().- Returns:
- The current state of the Capacity Reservation Fleet.
- See Also:
-
currentFleetStateAsString
The current state of the Capacity Reservation Fleet.
If the service returns an enum value that is not available in the current SDK version,
currentFleetStatewill returnCapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentFleetStateAsString().- Returns:
- The current state of the Capacity Reservation Fleet.
- See Also:
-
previousFleetState
The previous state of the Capacity Reservation Fleet.
If the service returns an enum value that is not available in the current SDK version,
previousFleetStatewill returnCapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreviousFleetStateAsString().- Returns:
- The previous state of the Capacity Reservation Fleet.
- See Also:
-
previousFleetStateAsString
The previous state of the Capacity Reservation Fleet.
If the service returns an enum value that is not available in the current SDK version,
previousFleetStatewill returnCapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreviousFleetStateAsString().- Returns:
- The previous state of the Capacity Reservation Fleet.
- See Also:
-
capacityReservationFleetId
The ID of the Capacity Reservation Fleet that was successfully cancelled.
- Returns:
- The ID of the Capacity Reservation Fleet that was successfully cancelled.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CapacityReservationFleetCancellationState.Builder,CapacityReservationFleetCancellationState>
-
builder
-
serializableBuilderClass
public static Class<? extends CapacityReservationFleetCancellationState.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
-