@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchItemError extends Object implements Serializable, Cloneable, StructuredPojo
Contains the batch request error details associated with the request.
| Constructor and Description |
|---|
BatchItemError() |
| Modifier and Type | Method and Description |
|---|---|
BatchItemError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code associated with the batch request error.
|
String |
getMessage()
A message with the reason for the batch request error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The error code associated with the batch request error.
|
void |
setMessage(String message)
A message with the reason for the batch request error.
|
String |
toString()
Returns a string representation of this object.
|
BatchItemError |
withCode(BatchItemErrorCode code)
The error code associated with the batch request error.
|
BatchItemError |
withCode(String code)
The error code associated with the batch request error.
|
BatchItemError |
withMessage(String message)
A message with the reason for the batch request error.
|
public void setCode(String code)
The error code associated with the batch request error.
code - The error code associated with the batch request error.BatchItemErrorCodepublic String getCode()
The error code associated with the batch request error.
BatchItemErrorCodepublic BatchItemError withCode(String code)
The error code associated with the batch request error.
code - The error code associated with the batch request error.BatchItemErrorCodepublic BatchItemError withCode(BatchItemErrorCode code)
The error code associated with the batch request error.
code - The error code associated with the batch request error.BatchItemErrorCodepublic void setMessage(String message)
A message with the reason for the batch request error.
message - A message with the reason for the batch request error.public String getMessage()
A message with the reason for the batch request error.
public BatchItemError withMessage(String message)
A message with the reason for the batch request error.
message - A message with the reason for the batch request error.public String toString()
toString in class ObjectObject.toString()public BatchItemError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.