@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDescribeErrorDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains an error code and error message.
| Constructor and Description |
|---|
BatchDescribeErrorDetail() |
| Modifier and Type | Method and Description |
|---|---|
BatchDescribeErrorDetail |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code returned.
|
String |
getErrorMessage()
The error message returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The error code returned.
|
void |
setErrorMessage(String errorMessage)
The error message returned.
|
String |
toString()
Returns a string representation of this object.
|
BatchDescribeErrorDetail |
withErrorCode(String errorCode)
The error code returned.
|
BatchDescribeErrorDetail |
withErrorMessage(String errorMessage)
The error message returned.
|
public void setErrorCode(String errorCode)
The error code returned.
errorCode - The error code returned.public String getErrorCode()
The error code returned.
public BatchDescribeErrorDetail withErrorCode(String errorCode)
The error code returned.
errorCode - The error code returned.public void setErrorMessage(String errorMessage)
The error message returned.
errorMessage - The error message returned.public String getErrorMessage()
The error message returned.
public BatchDescribeErrorDetail withErrorMessage(String errorMessage)
The error message returned.
errorMessage - The error message returned.public String toString()
toString in class ObjectObject.toString()public BatchDescribeErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.