@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDescribeModelPackageError extends Object implements Serializable, Cloneable, StructuredPojo
The error code and error description associated with the resource.
| Constructor and Description | 
|---|
BatchDescribeModelPackageError()  | 
| Modifier and Type | Method and Description | 
|---|---|
BatchDescribeModelPackageError | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getErrorCode()
 | 
String | 
getErrorResponse()
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setErrorCode(String errorCode)
 | 
void | 
setErrorResponse(String errorResponse)
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
BatchDescribeModelPackageError | 
withErrorCode(String errorCode)
 | 
BatchDescribeModelPackageError | 
withErrorResponse(String errorResponse)
 | 
public void setErrorCode(String errorCode)
errorCode - public String getErrorCode()
public BatchDescribeModelPackageError withErrorCode(String errorCode)
errorCode - public void setErrorResponse(String errorResponse)
errorResponse - public String getErrorResponse()
public BatchDescribeModelPackageError withErrorResponse(String errorResponse)
errorResponse - public String toString()
toString in class ObjectObject.toString()public BatchDescribeModelPackageError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.