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()booleangetCode()The error code.The error message accompanying the error code.inthashCode()voidThe error code.voidsetMessage(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
-
getCode
-
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
-
equals
-
hashCode
-
clone
-