|
|||||||
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 operation on each entry in the request.
Constructor Summary | |
---|---|
BatchResultErrorEntry()
|
Method Summary | |
---|---|
String |
getCode()
An error code representing why the operation failed on this entry. |
String |
getId()
The id of an entry in a batch request. |
String |
getMessage()
A message explaining why the operation failed on this entry. |
Boolean |
getSenderFault()
Whether the error happened due to the sender's fault. |
Boolean |
isSenderFault()
Whether the error happened due to the sender's fault. |
void |
setCode(String code)
An error code representing why the operation failed on this entry. |
void |
setId(String id)
The id of an entry in a batch request. |
void |
setMessage(String message)
A message explaining why the operation failed on this entry. |
void |
setSenderFault(Boolean senderFault)
Whether the error happened due to the sender's fault. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BatchResultErrorEntry |
withCode(String code)
An error code representing why the operation failed on this entry. |
BatchResultErrorEntry |
withId(String id)
The id of an entry in a batch request. |
BatchResultErrorEntry |
withMessage(String message)
A message explaining why the operation failed on this entry. |
BatchResultErrorEntry |
withSenderFault(Boolean senderFault)
Whether the error happened due to the sender's fault. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BatchResultErrorEntry()
Method Detail |
---|
public String getId()
public void setId(String id)
id
- The id of an entry in a batch request.public BatchResultErrorEntry withId(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 Boolean isSenderFault()
public void setSenderFault(Boolean senderFault)
senderFault
- Whether the error happened due to the sender's fault.public BatchResultErrorEntry withSenderFault(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 Boolean getSenderFault()
public String getCode()
public void setCode(String code)
code
- An error code representing why the operation failed on this entry.public BatchResultErrorEntry withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- An error code representing why the operation failed on this entry.
public String getMessage()
public void setMessage(String message)
message
- A message explaining why the operation failed on this entry.public BatchResultErrorEntry withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- A message explaining why the operation failed on this entry.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |