@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchFailedResultModel extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
BatchFailedResultModel() |
Modifier and Type | Method and Description |
---|---|
BatchFailedResultModel |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
ARN of the resource
|
String |
getCode()
Error code for the failed operation
|
String |
getId()
ID of the resource
|
String |
getMessage()
Error message for the failed operation
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
ARN of the resource
|
void |
setCode(String code)
Error code for the failed operation
|
void |
setId(String id)
ID of the resource
|
void |
setMessage(String message)
Error message for the failed operation
|
String |
toString()
Returns a string representation of this object.
|
BatchFailedResultModel |
withArn(String arn)
ARN of the resource
|
BatchFailedResultModel |
withCode(String code)
Error code for the failed operation
|
BatchFailedResultModel |
withId(String id)
ID of the resource
|
BatchFailedResultModel |
withMessage(String message)
Error message for the failed operation
|
public void setArn(String arn)
arn
- ARN of the resourcepublic String getArn()
public BatchFailedResultModel withArn(String arn)
arn
- ARN of the resourcepublic void setCode(String code)
code
- Error code for the failed operationpublic String getCode()
public BatchFailedResultModel withCode(String code)
code
- Error code for the failed operationpublic void setId(String id)
id
- ID of the resourcepublic String getId()
public BatchFailedResultModel withId(String id)
id
- ID of the resourcepublic void setMessage(String message)
message
- Error message for the failed operationpublic String getMessage()
public BatchFailedResultModel withMessage(String message)
message
- Error message for the failed operationpublic String toString()
toString
in class Object
Object.toString()
public BatchFailedResultModel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.