@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsuccessfulItemError extends Object implements Serializable, Cloneable
Information about the error that occurred. For more information about errors, see Error codes.
Constructor and Description |
---|
UnsuccessfulItemError() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulItemError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The error message accompanying the error code.
|
int |
hashCode() |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message accompanying the error code.
|
String |
toString()
Returns a string representation of this object.
|
UnsuccessfulItemError |
withCode(String code)
The error code.
|
UnsuccessfulItemError |
withMessage(String message)
The error message accompanying the error code.
|
public void setCode(String code)
The error code.
code
- The error code.public String getCode()
The error code.
public UnsuccessfulItemError withCode(String code)
The error code.
code
- The error code.public void setMessage(String message)
The error message accompanying the error code.
message
- The error message accompanying the error code.public String getMessage()
The error message accompanying the error code.
public UnsuccessfulItemError withMessage(String message)
The error message accompanying the error code.
message
- The error message accompanying the error code.public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulItemError clone()