public class FailedItemDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Includes details about the failed items.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
failureCode
The status code of a failed item.
|
private java.lang.Boolean |
retryable
Indicates whether you can immediately retry a request for this item for a
specified resource.
|
Constructor and Description |
---|
FailedItemDetails() |
Modifier and Type | Method and Description |
---|---|
FailedItemDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFailureCode()
The status code of a failed item.
|
java.lang.Boolean |
getRetryable()
Indicates whether you can immediately retry a request for this item for a
specified resource.
|
int |
hashCode() |
java.lang.Boolean |
isRetryable()
Indicates whether you can immediately retry a request for this item for a
specified resource.
|
void |
setFailureCode(FailedItemErrorCode failureCode)
The status code of a failed item.
|
void |
setFailureCode(java.lang.String failureCode)
The status code of a failed item.
|
void |
setRetryable(java.lang.Boolean retryable)
Indicates whether you can immediately retry a request for this item for a
specified resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FailedItemDetails |
withFailureCode(FailedItemErrorCode failureCode)
The status code of a failed item.
|
FailedItemDetails |
withFailureCode(java.lang.String failureCode)
The status code of a failed item.
|
FailedItemDetails |
withRetryable(java.lang.Boolean retryable)
Indicates whether you can immediately retry a request for this item for a
specified resource.
|
private java.lang.String failureCode
The status code of a failed item.
private java.lang.Boolean retryable
Indicates whether you can immediately retry a request for this item for a specified resource.
public void setFailureCode(java.lang.String failureCode)
The status code of a failed item.
failureCode
- The status code of a failed item.FailedItemErrorCode
public java.lang.String getFailureCode()
The status code of a failed item.
FailedItemErrorCode
public FailedItemDetails withFailureCode(java.lang.String failureCode)
The status code of a failed item.
failureCode
- The status code of a failed item.FailedItemErrorCode
public void setFailureCode(FailedItemErrorCode failureCode)
The status code of a failed item.
failureCode
- The status code of a failed item.FailedItemErrorCode
public FailedItemDetails withFailureCode(FailedItemErrorCode failureCode)
The status code of a failed item.
failureCode
- The status code of a failed item.FailedItemErrorCode
public void setRetryable(java.lang.Boolean retryable)
Indicates whether you can immediately retry a request for this item for a specified resource.
retryable
- Indicates whether you can immediately retry a request for this
item for a specified resource.public java.lang.Boolean getRetryable()
Indicates whether you can immediately retry a request for this item for a specified resource.
public FailedItemDetails withRetryable(java.lang.Boolean retryable)
Indicates whether you can immediately retry a request for this item for a specified resource.
retryable
- Indicates whether you can immediately retry a request for this
item for a specified resource.public java.lang.Boolean isRetryable()
Indicates whether you can immediately retry a request for this item for a specified resource.
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 FailedItemDetails clone()
clone
in class java.lang.Object