|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.sqs.model.SendMessageBatchResult
public class SendMessageBatchResult
For each message in the batch, the response contains a SendMessageBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.
Constructor Summary | |
---|---|
SendMessageBatchResult()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<BatchResultErrorEntry> |
getFailed()
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued. |
java.util.List<SendMessageBatchResultEntry> |
getSuccessful()
A list of SendMessageBatchResultEntry items. |
int |
hashCode()
|
void |
setFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued. |
void |
setSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntry items. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SendMessageBatchResult |
withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued. |
SendMessageBatchResult |
withFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued. |
SendMessageBatchResult |
withSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntry items. |
SendMessageBatchResult |
withSuccessful(SendMessageBatchResultEntry... successful)
A list of SendMessageBatchResultEntry items. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SendMessageBatchResult()
Method Detail |
---|
public java.util.List<SendMessageBatchResultEntry> getSuccessful()
public void setSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
successful
- A list of SendMessageBatchResultEntry items.public SendMessageBatchResult withSuccessful(SendMessageBatchResultEntry... successful)
Returns a reference to this object so that method calls can be chained together.
successful
- A list of SendMessageBatchResultEntry items.
public SendMessageBatchResult withSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
Returns a reference to this object so that method calls can be chained together.
successful
- A list of SendMessageBatchResultEntry items.
public java.util.List<BatchResultErrorEntry> getFailed()
public void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
failed
- A list of BatchResultErrorEntry items with the error detail
about each message that could not be enqueued.public SendMessageBatchResult withFailed(BatchResultErrorEntry... failed)
Returns a reference to this object so that method calls can be chained together.
failed
- A list of BatchResultErrorEntry items with the error detail
about each message that could not be enqueued.
public SendMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed)
Returns a reference to this object so that method calls can be chained together.
failed
- A list of BatchResultErrorEntry items with the error detail
about each message that could not be enqueued.
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |