|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.sqs.model.BatchResultErrorEntry
public class BatchResultErrorEntry
This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.
| Constructor Summary | |
|---|---|
BatchResultErrorEntry()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCode()
An error code representing why the action failed on this entry. |
java.lang.String |
getId()
The id of an entry in a batch request. |
java.lang.String |
getMessage()
A message explaining why the action failed on this entry. |
java.lang.Boolean |
getSenderFault()
Whether the error happened due to the sender's fault. |
int |
hashCode()
|
java.lang.Boolean |
isSenderFault()
Whether the error happened due to the sender's fault. |
void |
setCode(java.lang.String code)
An error code representing why the action failed on this entry. |
void |
setId(java.lang.String id)
The id of an entry in a batch request. |
void |
setMessage(java.lang.String message)
A message explaining why the action failed on this entry. |
void |
setSenderFault(java.lang.Boolean senderFault)
Whether the error happened due to the sender's fault. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BatchResultErrorEntry |
withCode(java.lang.String code)
An error code representing why the action failed on this entry. |
BatchResultErrorEntry |
withId(java.lang.String id)
The id of an entry in a batch request. |
BatchResultErrorEntry |
withMessage(java.lang.String message)
A message explaining why the action failed on this entry. |
BatchResultErrorEntry |
withSenderFault(java.lang.Boolean senderFault)
Whether the error happened due to the sender's fault. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BatchResultErrorEntry()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - The id of an entry in a batch request.public BatchResultErrorEntry withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id - The id of an entry in a batch request.
public java.lang.Boolean isSenderFault()
public void setSenderFault(java.lang.Boolean senderFault)
senderFault - Whether the error happened due to the sender's fault.public BatchResultErrorEntry withSenderFault(java.lang.Boolean senderFault)
Returns a reference to this object so that method calls can be chained together.
senderFault - Whether the error happened due to the sender's fault.
public java.lang.Boolean getSenderFault()
public java.lang.String getCode()
public void setCode(java.lang.String code)
code - An error code representing why the action failed on this entry.public BatchResultErrorEntry withCode(java.lang.String code)
Returns a reference to this object so that method calls can be chained together.
code - An error code representing why the action failed on this entry.
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - A message explaining why the action failed on this entry.public BatchResultErrorEntry withMessage(java.lang.String message)
Returns a reference to this object so that method calls can be chained together.
message - A message explaining why the action failed on this entry.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||