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