Class CapacityReservationFleetCancellationState
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.CapacityReservationFleetCancellationState
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CapacityReservationFleetCancellationState.Builder,CapacityReservationFleetCancellationState>
@Generated("software.amazon.awssdk:codegen") public final class CapacityReservationFleetCancellationState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CapacityReservationFleetCancellationState.Builder,CapacityReservationFleetCancellationState>
Describes a Capacity Reservation Fleet that was successfully cancelled.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CapacityReservationFleetCancellationState.Builder
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
currentFleetState
public final CapacityReservationFleetState 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,
currentFleetState
will 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:
CapacityReservationFleetState
-
currentFleetStateAsString
public final String 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,
currentFleetState
will 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:
CapacityReservationFleetState
-
previousFleetState
public final CapacityReservationFleetState 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,
previousFleetState
will 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:
CapacityReservationFleetState
-
previousFleetStateAsString
public final String 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,
previousFleetState
will 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:
CapacityReservationFleetState
-
capacityReservationFleetId
public final String 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
public CapacityReservationFleetCancellationState.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CapacityReservationFleetCancellationState.Builder,CapacityReservationFleetCancellationState>
-
builder
public static CapacityReservationFleetCancellationState.Builder builder()
-
serializableBuilderClass
public static Class<? extends CapacityReservationFleetCancellationState.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
-