public class SendMessageBatchResult extends Object implements Serializable
Constructor and Description |
---|
SendMessageBatchResult() |
public List<SendMessageBatchResultEntry> getSuccessful()
public void setSuccessful(Collection<SendMessageBatchResultEntry> successful)
successful
- A list of SendMessageBatchResultEntrys.public SendMessageBatchResult withSuccessful(SendMessageBatchResultEntry... successful)
Returns a reference to this object so that method calls can be chained together.
successful
- A list of SendMessageBatchResultEntrys.public SendMessageBatchResult withSuccessful(Collection<SendMessageBatchResultEntry> successful)
Returns a reference to this object so that method calls can be chained together.
successful
- A list of SendMessageBatchResultEntrys.public List<BatchResultErrorEntry> getFailed()
public void setFailed(Collection<BatchResultErrorEntry> failed)
failed
- A list of BatchResultErrorEntrys 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 BatchResultErrorEntrys with the error detail about
each message that could not be enqueued.public SendMessageBatchResult withFailed(Collection<BatchResultErrorEntry> failed)
Returns a reference to this object so that method calls can be chained together.
failed
- A list of BatchResultErrorEntrys with the error detail about
each message that could not be enqueued.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.