public class CancelSpotFleetRequestsError
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a Spot fleet error.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
The error code.
|
private java.lang.String |
message
The description for the error code.
|
Constructor and Description |
---|
CancelSpotFleetRequestsError() |
Modifier and Type | Method and Description |
---|---|
CancelSpotFleetRequestsError |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The error code.
|
java.lang.String |
getMessage()
The description for the error code.
|
int |
hashCode() |
void |
setCode(CancelBatchErrorCode code)
The error code.
|
void |
setCode(java.lang.String code)
The error code.
|
void |
setMessage(java.lang.String message)
The description for the error code.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelSpotFleetRequestsError |
withCode(CancelBatchErrorCode code)
The error code.
|
CancelSpotFleetRequestsError |
withCode(java.lang.String code)
The error code.
|
CancelSpotFleetRequestsError |
withMessage(java.lang.String message)
The description for the error code.
|
private java.lang.String code
The error code.
private java.lang.String message
The description for the error code.
public void setCode(java.lang.String code)
The error code.
code
- The error code.CancelBatchErrorCode
public java.lang.String getCode()
The error code.
CancelBatchErrorCode
public CancelSpotFleetRequestsError withCode(java.lang.String code)
The error code.
code
- The error code.CancelBatchErrorCode
public void setCode(CancelBatchErrorCode code)
The error code.
code
- The error code.CancelBatchErrorCode
public CancelSpotFleetRequestsError withCode(CancelBatchErrorCode code)
The error code.
code
- The error code.CancelBatchErrorCode
public void setMessage(java.lang.String message)
The description for the error code.
message
- The description for the error code.public java.lang.String getMessage()
The description for the error code.
public CancelSpotFleetRequestsError withMessage(java.lang.String message)
The description for the error code.
message
- The description for the error code.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CancelSpotFleetRequestsError clone()
clone
in class java.lang.Object