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