@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelSpotFleetRequestsError extends Object implements Serializable, Cloneable
Describes a Spot fleet error.
Constructor and Description |
---|
CancelSpotFleetRequestsError() |
Modifier and Type | Method and Description |
---|---|
CancelSpotFleetRequestsError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The description for the error code.
|
int |
hashCode() |
void |
setCode(CancelBatchErrorCode code)
The error code.
|
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; useful for testing and debugging.
|
CancelSpotFleetRequestsError |
withCode(CancelBatchErrorCode code)
The error code.
|
CancelSpotFleetRequestsError |
withCode(String code)
The error code.
|
CancelSpotFleetRequestsError |
withMessage(String message)
The description for the error code.
|
public void setCode(String code)
The error code.
code
- The error code.CancelBatchErrorCode
public String getCode()
The error code.
CancelBatchErrorCode
public CancelSpotFleetRequestsError withCode(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(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 CancelSpotFleetRequestsError 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 CancelSpotFleetRequestsError clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.