public class DeleteMessageBatchResult
extends java.lang.Object
implements java.io.Serializable
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() |
public java.util.List<DeleteMessageBatchResultEntry> getSuccessful()
A list of DeleteMessageBatchResultEntry items.
A list of DeleteMessageBatchResultEntry items.
public void setSuccessful(java.util.Collection<DeleteMessageBatchResultEntry> successful)
A list of DeleteMessageBatchResultEntry items.
successful - A list of DeleteMessageBatchResultEntry items.
public DeleteMessageBatchResult withSuccessful(DeleteMessageBatchResultEntry... successful)
A list of DeleteMessageBatchResultEntry items.
Returns a reference to this object so that method calls can be chained together.
successful - A list of DeleteMessageBatchResultEntry items.
public DeleteMessageBatchResult withSuccessful(java.util.Collection<DeleteMessageBatchResultEntry> successful)
A list of DeleteMessageBatchResultEntry items.
Returns a reference to this object so that method calls can be chained together.
successful - A list of DeleteMessageBatchResultEntry items.
public java.util.List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items.
A list of BatchResultErrorEntry items.
public void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
failed - A list of BatchResultErrorEntry items.
public DeleteMessageBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items.
Returns a reference to this object so that method calls can be chained together.
failed - A list of BatchResultErrorEntry items.
public DeleteMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
Returns a reference to this object so that method calls can be chained together.
failed - A list of BatchResultErrorEntry items.
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.