@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteMessageBatchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
For each message in the batch, the response contains a DeleteMessageBatchResultEntry tag if the
message is deleted or a BatchResultErrorEntry tag if the message can't be deleted.
| Constructor and Description |
|---|
DeleteMessageBatchResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DeleteMessageBatchResultEntry> getSuccessful()
A list of DeleteMessageBatchResultEntry items.
DeleteMessageBatchResultEntry items.public void setSuccessful(Collection<DeleteMessageBatchResultEntry> successful)
A list of DeleteMessageBatchResultEntry items.
successful - A list of DeleteMessageBatchResultEntry items.public DeleteMessageBatchResult withSuccessful(DeleteMessageBatchResultEntry... successful)
A list of DeleteMessageBatchResultEntry 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 DeleteMessageBatchResultEntry items.public DeleteMessageBatchResult withSuccessful(Collection<DeleteMessageBatchResultEntry> successful)
A list of DeleteMessageBatchResultEntry items.
successful - A list of DeleteMessageBatchResultEntry items.public List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items.
BatchResultErrorEntry items.public void setFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
failed - A list of BatchResultErrorEntry items.public DeleteMessageBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items.
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.public DeleteMessageBatchResult withFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
failed - A list of BatchResultErrorEntry items.public String toString()
toString in class ObjectObject.toString()public DeleteMessageBatchResult clone()