Package com.amazonaws.services.ec2.model
Class UnsuccessfulItemError
java.lang.Object
com.amazonaws.services.ec2.model.UnsuccessfulItemError
- All Implemented Interfaces:
Serializable
,Cloneable
Information about the error that occurred. For more information about errors, see Error Codes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The error code.The error message accompanying the error code.int
hashCode()
void
The error code.void
setMessage
(String message) The error message accompanying the error code.toString()
Returns a string representation of this object; useful for testing and debugging.The error code.withMessage
(String message) The error message accompanying the error code.
-
Constructor Details
-
UnsuccessfulItemError
public UnsuccessfulItemError()
-
-
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 accompanying the error code.
- Parameters:
message
- The error message accompanying the error code.
-
getMessage
The error message accompanying the error code.
- Returns:
- The error message accompanying the error code.
-
withMessage
The error message accompanying the error code.
- Parameters:
message
- The error message accompanying 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
-