@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AsyncErrorDetails extends Object implements Serializable, Cloneable
Error details for the failed asynchronous operation.
Constructor and Description |
---|
AsyncErrorDetails() |
Modifier and Type | Method and Description |
---|---|
AsyncErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
A string that uniquely identifies the error condition.
|
String |
getMessage()
A generic description of the error condition in English.
|
String |
getRequestId()
The ID of the request associated with the error.
|
String |
getResource()
The identifier of the resource associated with the error.
|
int |
hashCode() |
void |
setCode(String code)
A string that uniquely identifies the error condition.
|
void |
setMessage(String message)
A generic description of the error condition in English.
|
void |
setRequestId(String requestId)
The ID of the request associated with the error.
|
void |
setResource(String resource)
The identifier of the resource associated with the error.
|
String |
toString()
Returns a string representation of this object.
|
AsyncErrorDetails |
withCode(String code)
A string that uniquely identifies the error condition.
|
AsyncErrorDetails |
withMessage(String message)
A generic description of the error condition in English.
|
AsyncErrorDetails |
withRequestId(String requestId)
The ID of the request associated with the error.
|
AsyncErrorDetails |
withResource(String resource)
The identifier of the resource associated with the error.
|
public void setCode(String code)
A string that uniquely identifies the error condition.
code
- A string that uniquely identifies the error condition.public String getCode()
A string that uniquely identifies the error condition.
public AsyncErrorDetails withCode(String code)
A string that uniquely identifies the error condition.
code
- A string that uniquely identifies the error condition.public void setMessage(String message)
A generic description of the error condition in English.
message
- A generic description of the error condition in English.public String getMessage()
A generic description of the error condition in English.
public AsyncErrorDetails withMessage(String message)
A generic description of the error condition in English.
message
- A generic description of the error condition in English.public void setResource(String resource)
The identifier of the resource associated with the error.
resource
- The identifier of the resource associated with the error.public String getResource()
The identifier of the resource associated with the error.
public AsyncErrorDetails withResource(String resource)
The identifier of the resource associated with the error.
resource
- The identifier of the resource associated with the error.public void setRequestId(String requestId)
The ID of the request associated with the error.
requestId
- The ID of the request associated with the error.public String getRequestId()
The ID of the request associated with the error.
public AsyncErrorDetails withRequestId(String requestId)
The ID of the request associated with the error.
requestId
- The ID of the request associated with the error.public String toString()
toString
in class Object
Object.toString()
public AsyncErrorDetails clone()