@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedCapacityReservationFleetCancellationResult extends Object implements Serializable, Cloneable
Describes a Capacity Reservation Fleet that could not be cancelled.
Constructor and Description |
---|
FailedCapacityReservationFleetCancellationResult() |
Modifier and Type | Method and Description |
---|---|
FailedCapacityReservationFleetCancellationResult |
clone() |
boolean |
equals(Object obj) |
CancelCapacityReservationFleetError |
getCancelCapacityReservationFleetError()
Information about the Capacity Reservation Fleet cancellation error.
|
String |
getCapacityReservationFleetId()
The ID of the Capacity Reservation Fleet that could not be cancelled.
|
int |
hashCode() |
void |
setCancelCapacityReservationFleetError(CancelCapacityReservationFleetError cancelCapacityReservationFleetError)
Information about the Capacity Reservation Fleet cancellation error.
|
void |
setCapacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet that could not be cancelled.
|
String |
toString()
Returns a string representation of this object.
|
FailedCapacityReservationFleetCancellationResult |
withCancelCapacityReservationFleetError(CancelCapacityReservationFleetError cancelCapacityReservationFleetError)
Information about the Capacity Reservation Fleet cancellation error.
|
FailedCapacityReservationFleetCancellationResult |
withCapacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet that could not be cancelled.
|
public FailedCapacityReservationFleetCancellationResult()
public void setCapacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet that could not be cancelled.
capacityReservationFleetId
- The ID of the Capacity Reservation Fleet that could not be cancelled.public String getCapacityReservationFleetId()
The ID of the Capacity Reservation Fleet that could not be cancelled.
public FailedCapacityReservationFleetCancellationResult withCapacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet that could not be cancelled.
capacityReservationFleetId
- The ID of the Capacity Reservation Fleet that could not be cancelled.public void setCancelCapacityReservationFleetError(CancelCapacityReservationFleetError cancelCapacityReservationFleetError)
Information about the Capacity Reservation Fleet cancellation error.
cancelCapacityReservationFleetError
- Information about the Capacity Reservation Fleet cancellation error.public CancelCapacityReservationFleetError getCancelCapacityReservationFleetError()
Information about the Capacity Reservation Fleet cancellation error.
public FailedCapacityReservationFleetCancellationResult withCancelCapacityReservationFleetError(CancelCapacityReservationFleetError cancelCapacityReservationFleetError)
Information about the Capacity Reservation Fleet cancellation error.
cancelCapacityReservationFleetError
- Information about the Capacity Reservation Fleet cancellation error.public String toString()
toString
in class Object
Object.toString()
public FailedCapacityReservationFleetCancellationResult clone()