public class UnsuccessfulItem
extends java.lang.Object
implements java.io.Serializable
Information about items that were not successfully processed in a batch call.
Constructor and Description |
---|
UnsuccessfulItem() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId
- The ID of the resource.public UnsuccessfulItem withResourceId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.