@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityReservationFleetCancellationState extends Object implements Serializable, Cloneable
Describes a Capacity Reservation Fleet that was successfully cancelled.
| Constructor and Description | 
|---|
| CapacityReservationFleetCancellationState() | 
| Modifier and Type | Method and Description | 
|---|---|
| CapacityReservationFleetCancellationState | clone() | 
| boolean | equals(Object obj) | 
| String | getCapacityReservationFleetId()
 The ID of the Capacity Reservation Fleet that was successfully cancelled. | 
| String | getCurrentFleetState()
 The current state of the Capacity Reservation Fleet. | 
| String | getPreviousFleetState()
 The previous state of the Capacity Reservation Fleet. | 
| int | hashCode() | 
| void | setCapacityReservationFleetId(String capacityReservationFleetId)
 The ID of the Capacity Reservation Fleet that was successfully cancelled. | 
| void | setCurrentFleetState(String currentFleetState)
 The current state of the Capacity Reservation Fleet. | 
| void | setPreviousFleetState(String previousFleetState)
 The previous state of the Capacity Reservation Fleet. | 
| String | toString()Returns a string representation of this object. | 
| CapacityReservationFleetCancellationState | withCapacityReservationFleetId(String capacityReservationFleetId)
 The ID of the Capacity Reservation Fleet that was successfully cancelled. | 
| CapacityReservationFleetCancellationState | withCurrentFleetState(CapacityReservationFleetState currentFleetState)
 The current state of the Capacity Reservation Fleet. | 
| CapacityReservationFleetCancellationState | withCurrentFleetState(String currentFleetState)
 The current state of the Capacity Reservation Fleet. | 
| CapacityReservationFleetCancellationState | withPreviousFleetState(CapacityReservationFleetState previousFleetState)
 The previous state of the Capacity Reservation Fleet. | 
| CapacityReservationFleetCancellationState | withPreviousFleetState(String previousFleetState)
 The previous state of the Capacity Reservation Fleet. | 
public CapacityReservationFleetCancellationState()
public void setCurrentFleetState(String currentFleetState)
The current state of the Capacity Reservation Fleet.
currentFleetState - The current state of the Capacity Reservation Fleet.CapacityReservationFleetStatepublic String getCurrentFleetState()
The current state of the Capacity Reservation Fleet.
CapacityReservationFleetStatepublic CapacityReservationFleetCancellationState withCurrentFleetState(String currentFleetState)
The current state of the Capacity Reservation Fleet.
currentFleetState - The current state of the Capacity Reservation Fleet.CapacityReservationFleetStatepublic CapacityReservationFleetCancellationState withCurrentFleetState(CapacityReservationFleetState currentFleetState)
The current state of the Capacity Reservation Fleet.
currentFleetState - The current state of the Capacity Reservation Fleet.CapacityReservationFleetStatepublic void setPreviousFleetState(String previousFleetState)
The previous state of the Capacity Reservation Fleet.
previousFleetState - The previous state of the Capacity Reservation Fleet.CapacityReservationFleetStatepublic String getPreviousFleetState()
The previous state of the Capacity Reservation Fleet.
CapacityReservationFleetStatepublic CapacityReservationFleetCancellationState withPreviousFleetState(String previousFleetState)
The previous state of the Capacity Reservation Fleet.
previousFleetState - The previous state of the Capacity Reservation Fleet.CapacityReservationFleetStatepublic CapacityReservationFleetCancellationState withPreviousFleetState(CapacityReservationFleetState previousFleetState)
The previous state of the Capacity Reservation Fleet.
previousFleetState - The previous state of the Capacity Reservation Fleet.CapacityReservationFleetStatepublic void setCapacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet that was successfully cancelled.
capacityReservationFleetId - The ID of the Capacity Reservation Fleet that was successfully cancelled.public String getCapacityReservationFleetId()
The ID of the Capacity Reservation Fleet that was successfully cancelled.
public CapacityReservationFleetCancellationState withCapacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet that was successfully cancelled.
capacityReservationFleetId - The ID of the Capacity Reservation Fleet that was successfully cancelled.public String toString()
toString in class ObjectObject.toString()public CapacityReservationFleetCancellationState clone()