@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.CapacityReservationFleetState
public String getCurrentFleetState()
The current state of the Capacity Reservation Fleet.
CapacityReservationFleetState
public CapacityReservationFleetCancellationState withCurrentFleetState(String currentFleetState)
The current state of the Capacity Reservation Fleet.
currentFleetState
- The current state of the Capacity Reservation Fleet.CapacityReservationFleetState
public CapacityReservationFleetCancellationState withCurrentFleetState(CapacityReservationFleetState currentFleetState)
The current state of the Capacity Reservation Fleet.
currentFleetState
- The current state of the Capacity Reservation Fleet.CapacityReservationFleetState
public void setPreviousFleetState(String previousFleetState)
The previous state of the Capacity Reservation Fleet.
previousFleetState
- The previous state of the Capacity Reservation Fleet.CapacityReservationFleetState
public String getPreviousFleetState()
The previous state of the Capacity Reservation Fleet.
CapacityReservationFleetState
public CapacityReservationFleetCancellationState withPreviousFleetState(String previousFleetState)
The previous state of the Capacity Reservation Fleet.
previousFleetState
- The previous state of the Capacity Reservation Fleet.CapacityReservationFleetState
public CapacityReservationFleetCancellationState withPreviousFleetState(CapacityReservationFleetState previousFleetState)
The previous state of the Capacity Reservation Fleet.
previousFleetState
- The previous state of the Capacity Reservation Fleet.CapacityReservationFleetState
public 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 Object
Object.toString()
public CapacityReservationFleetCancellationState clone()