public final class DeleteMessageBatchResult extends Object implements 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 cannot be deleted.
Constructor and Description |
---|
DeleteMessageBatchResult(List<BatchResultErrorEntry> failed,
List<DeleteMessageBatchResultEntry> successful) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<BatchResultErrorEntry> |
getFailed()
A list of BatchResultErrorEntry items.
|
List<DeleteMessageBatchResultEntry> |
getSuccessful()
A list of DeleteMessageBatchResultEntry items.
|
int |
hashCode() |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteMessageBatchResult |
withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items.
|
DeleteMessageBatchResult |
withSuccessful(DeleteMessageBatchResultEntry... successful)
A list of DeleteMessageBatchResultEntry items.
|
public DeleteMessageBatchResult(List<BatchResultErrorEntry> failed, List<DeleteMessageBatchResultEntry> successful)
public List<DeleteMessageBatchResultEntry> getSuccessful()
public DeleteMessageBatchResult withSuccessful(DeleteMessageBatchResultEntry... successful)
successful
- A list of DeleteMessageBatchResultEntry items.public List<BatchResultErrorEntry> getFailed()
public DeleteMessageBatchResult withFailed(BatchResultErrorEntry... failed)
failed
- A list of BatchResultErrorEntry items.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2016. All rights reserved.