public class UnsuccessfulItem
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about items that were not successfully processed in a batch call.
Modifier and Type | Field and Description |
---|---|
private UnsuccessfulItemError |
error
Information about the error.
|
private java.lang.String |
resourceId
The ID of the resource.
|
Constructor and Description |
---|
UnsuccessfulItem() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulItem |
clone() |
boolean |
equals(java.lang.Object obj) |
UnsuccessfulItemError |
getError()
Information about the error.
|
java.lang.String |
getResourceId()
The ID of the resource.
|
int |
hashCode() |
void |
setError(UnsuccessfulItemError error)
Information about the error.
|
void |
setResourceId(java.lang.String resourceId)
The ID of the resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnsuccessfulItem |
withError(UnsuccessfulItemError error)
Information about the error.
|
UnsuccessfulItem |
withResourceId(java.lang.String resourceId)
The ID of the resource.
|
private java.lang.String resourceId
The ID of the resource.
private UnsuccessfulItemError error
Information about the error.
public void setResourceId(java.lang.String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public java.lang.String getResourceId()
The ID of the resource.
public UnsuccessfulItem withResourceId(java.lang.String resourceId)
The ID of the resource.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UnsuccessfulItem clone()
clone
in class java.lang.Object