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; useful for testing and
debugging.
|
UnsuccessfulItem |
withError(UnsuccessfulItemError error)
Information about the error.
|
UnsuccessfulItem |
withResourceId(String resourceId)
The ID of the resource.
|
public String getResourceId()
public void setResourceId(String resourceId)
resourceId
- The ID of the resource.public UnsuccessfulItem withResourceId(String resourceId)
Returns a reference to this object so that method calls can be chained together.
resourceId
- The ID of the resource.public UnsuccessfulItemError getError()
public void setError(UnsuccessfulItemError error)
error
- Information about the error.public UnsuccessfulItem withError(UnsuccessfulItemError error)
Returns a reference to this object so that method calls can be chained together.
error
- Information about the error.public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulItem clone()
Copyright © 2015. All rights reserved.