public class UnsuccessfulItemError
extends java.lang.Object
implements java.io.Serializable
Information about the error that occurred. For more information about errors, see Error Codes .
Constructor and Description |
---|
UnsuccessfulItemError() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The error code.
|
java.lang.String |
getMessage()
The error message accompanying the error code.
|
int |
hashCode() |
void |
setCode(java.lang.String code)
The error code.
|
void |
setMessage(java.lang.String message)
The error message accompanying the error code.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnsuccessfulItemError |
withCode(java.lang.String code)
The error code.
|
UnsuccessfulItemError |
withMessage(java.lang.String message)
The error message accompanying the error code.
|
public java.lang.String getCode()
public void setCode(java.lang.String code)
code
- The error code.public UnsuccessfulItemError withCode(java.lang.String code)
Returns a reference to this object so that method calls can be chained together.
code
- The error code.public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The error message accompanying the error code.public UnsuccessfulItemError withMessage(java.lang.String message)
Returns a reference to this object so that method calls can be chained together.
message
- The error message accompanying the error code.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.