@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelCapacityReservationFleetError extends Object implements Serializable, Cloneable
Describes a Capacity Reservation Fleet cancellation error.
Constructor and Description |
---|
CancelCapacityReservationFleetError() |
Modifier and Type | Method and Description |
---|---|
CancelCapacityReservationFleetError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
CancelCapacityReservationFleetError |
withCode(String code)
The error code.
|
CancelCapacityReservationFleetError |
withMessage(String message)
The error message.
|
public void setCode(String code)
The error code.
code
- The error code.public String getCode()
The error code.
public CancelCapacityReservationFleetError withCode(String code)
The error code.
code
- The error code.public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public CancelCapacityReservationFleetError withMessage(String message)
The error message.
message
- The error message.public String toString()
toString
in class Object
Object.toString()
public CancelCapacityReservationFleetError clone()