public class SendMessageBatchResult
extends java.lang.Object
implements java.io.Serializable
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 and Description |
|---|
SendMessageBatchResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.util.List<SendMessageBatchResultEntry> getSuccessful()
A list of SendMessageBatchResultEntry items.
A list of SendMessageBatchResultEntry items.
public void setSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntry items.
successful - A list of SendMessageBatchResultEntry items.
public SendMessageBatchResult withSuccessful(SendMessageBatchResultEntry... successful)
A list of SendMessageBatchResultEntry items.
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)
A list of SendMessageBatchResultEntry items.
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()
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
public void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
failed - A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
public SendMessageBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
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)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.