Package com.amazonaws.services.ec2.model
Class CancelSpotFleetRequestsError
java.lang.Object
com.amazonaws.services.ec2.model.CancelSpotFleetRequestsError
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a Spot fleet error.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The error code.The description for the error code.int
hashCode()
void
setCode
(CancelBatchErrorCode code) The error code.void
The error code.void
setMessage
(String message) The description for the error code.toString()
Returns a string representation of this object; useful for testing and debugging.withCode
(CancelBatchErrorCode code) The error code.The error code.withMessage
(String message) The description for the error code.
-
Constructor Details
-
CancelSpotFleetRequestsError
public CancelSpotFleetRequestsError()
-
-
Method Details
-
setCode
The error code.
- Parameters:
code
- The error code.- See Also:
-
getCode
The error code.
- Returns:
- The error code.
- See Also:
-
withCode
The error code.
- Parameters:
code
- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCode
The error code.
- Parameters:
code
- The error code.- See Also:
-
withCode
The error code.
- Parameters:
code
- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setMessage
The description for the error code.
- Parameters:
message
- The description for the error code.
-
getMessage
The description for the error code.
- Returns:
- The description for the error code.
-
withMessage
The description for the error code.
- Parameters:
message
- The description for the error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-