@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
CapacityReservationFleetCancellationState.Builder |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
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 return CapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service
is available from currentFleetStateAsString()
.
CapacityReservationFleetState
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 return CapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service
is available from currentFleetStateAsString()
.
CapacityReservationFleetState
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 return CapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from previousFleetStateAsString()
.
CapacityReservationFleetState
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 return CapacityReservationFleetState.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from previousFleetStateAsString()
.
CapacityReservationFleetState
public final String capacityReservationFleetId()
The ID of the Capacity Reservation Fleet that was successfully cancelled.
public CapacityReservationFleetCancellationState.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CapacityReservationFleetCancellationState.Builder,CapacityReservationFleetCancellationState>
public static CapacityReservationFleetCancellationState.Builder builder()
public static Class<? extends CapacityReservationFleetCancellationState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.