Class DeleteMessageBatchResult
- All Implemented Interfaces:
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 cannot be deleted.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of BatchResultErrorEntry items.A list of DeleteMessageBatchResultEntry items.int
hashCode()
void
setFailed
(Collection<BatchResultErrorEntry> failed) A list of BatchResultErrorEntry items.void
setSuccessful
(Collection<DeleteMessageBatchResultEntry> successful) A list of DeleteMessageBatchResultEntry items.toString()
Returns a string representation of this object; useful for testing and debugging.withFailed
(BatchResultErrorEntry... failed) A list of BatchResultErrorEntry items.withFailed
(Collection<BatchResultErrorEntry> failed) A list of BatchResultErrorEntry items.withSuccessful
(DeleteMessageBatchResultEntry... successful) A list of DeleteMessageBatchResultEntry items.withSuccessful
(Collection<DeleteMessageBatchResultEntry> successful) A list of DeleteMessageBatchResultEntry items.
-
Constructor Details
-
DeleteMessageBatchResult
public DeleteMessageBatchResult()
-
-
Method Details
-
getSuccessful
A list of DeleteMessageBatchResultEntry items.
- Returns:
- A list of DeleteMessageBatchResultEntry items.
-
setSuccessful
A list of DeleteMessageBatchResultEntry items.
- Parameters:
successful
- A list of DeleteMessageBatchResultEntry items.
-
withSuccessful
A list of DeleteMessageBatchResultEntry items.
NOTE: This method appends the values to the existing list (if any). Use
setSuccessful(java.util.Collection)
orwithSuccessful(java.util.Collection)
if you want to override the existing values.- Parameters:
successful
- A list of DeleteMessageBatchResultEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSuccessful
public DeleteMessageBatchResult withSuccessful(Collection<DeleteMessageBatchResultEntry> successful) A list of DeleteMessageBatchResultEntry items.
- Parameters:
successful
- A list of DeleteMessageBatchResultEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFailed
A list of BatchResultErrorEntry items.
- Returns:
- A list of BatchResultErrorEntry items.
-
setFailed
A list of BatchResultErrorEntry items.
- Parameters:
failed
- A list of BatchResultErrorEntry items.
-
withFailed
A list of BatchResultErrorEntry items.
NOTE: This method appends the values to the existing list (if any). Use
setFailed(java.util.Collection)
orwithFailed(java.util.Collection)
if you want to override the existing values.- Parameters:
failed
- A list of BatchResultErrorEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailed
A list of BatchResultErrorEntry items.
- Parameters:
failed
- A list of BatchResultErrorEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-