@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendMessageBatchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SendMessageBatchResultEntry> getSuccessful()
A list of SendMessageBatchResultEntry
items.
SendMessageBatchResultEntry
items.public void setSuccessful(Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntry
items.
successful
- A list of SendMessageBatchResultEntry
items.public SendMessageBatchResult withSuccessful(SendMessageBatchResultEntry... successful)
A list of SendMessageBatchResultEntry
items.
NOTE: This method appends the values to the existing list (if any). Use
setSuccessful(java.util.Collection)
or withSuccessful(java.util.Collection)
if you want to
override the existing values.
successful
- A list of SendMessageBatchResultEntry
items.public SendMessageBatchResult withSuccessful(Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntry
items.
successful
- A list of SendMessageBatchResultEntry
items.public List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry
items with error details about each message that can't be
enqueued.
BatchResultErrorEntry
items with error details about each message that
can't be enqueued.public void setFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry
items with error details about each message that can't be
enqueued.
failed
- A list of BatchResultErrorEntry
items with error details about each message that
can't be enqueued.public SendMessageBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry
items with error details about each message that can't be
enqueued.
NOTE: This method appends the values to the existing list (if any). Use
setFailed(java.util.Collection)
or withFailed(java.util.Collection)
if you want to override the
existing values.
failed
- A list of BatchResultErrorEntry
items with error details about each message that
can't be enqueued.public SendMessageBatchResult withFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry
items with error details about each message that can't be
enqueued.
failed
- A list of BatchResultErrorEntry
items with error details about each message that
can't be enqueued.public String toString()
toString
in class Object
Object.toString()
public SendMessageBatchResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.