@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsuccessfulItem extends Object implements Serializable, Cloneable
Information about items that were not successfully processed in a batch call.
Constructor and Description |
---|
UnsuccessfulItem() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulItem |
clone() |
boolean |
equals(Object obj) |
UnsuccessfulItemError |
getError()
Information about the error.
|
String |
getResourceId()
The ID of the resource.
|
int |
hashCode() |
void |
setError(UnsuccessfulItemError error)
Information about the error.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
String |
toString()
Returns a string representation of this object.
|
UnsuccessfulItem |
withError(UnsuccessfulItemError error)
Information about the error.
|
UnsuccessfulItem |
withResourceId(String resourceId)
The ID of the resource.
|
public void setError(UnsuccessfulItemError error)
Information about the error.
error
- Information about the error.public UnsuccessfulItemError getError()
Information about the error.
public UnsuccessfulItem withError(UnsuccessfulItemError error)
Information about the error.
error
- Information about the error.public void setResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String getResourceId()
The ID of the resource.
public UnsuccessfulItem withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulItem clone()