public final class

DeleteMessageBatchResult

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.modules.sqs.model.DeleteMessageBatchResult

Class Overview

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.

Summary

Constants
long serialVersionUID
Fields
private final List<BatchResultErrorEntry> failed A list of BatchResultErrorEntry items.
private final List<DeleteMessageBatchResultEntry> successful A list of DeleteMessageBatchResultEntry items.
Public Constructors
DeleteMessageBatchResult(List<BatchResultErrorEntry> failed, List<DeleteMessageBatchResultEntry> successful)
Public Methods
boolean equals(Object o)
List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items.
List<DeleteMessageBatchResultEntry> getSuccessful()
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)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -4707935663231645094 (0xbeaa0d753faf4a5a)

Fields

private final List<BatchResultErrorEntry> failed

A list of BatchResultErrorEntry items.

private final List<DeleteMessageBatchResultEntry> successful

Public Constructors

public DeleteMessageBatchResult (List<BatchResultErrorEntry> failed, List<DeleteMessageBatchResultEntry> successful)

Parameters
failed
successful

Public Methods

public boolean equals (Object o)

Parameters
o

public List<BatchResultErrorEntry> getFailed ()

A list of BatchResultErrorEntry items.

Returns

public List<DeleteMessageBatchResultEntry> getSuccessful ()

Returns

public int hashCode ()

public String toString ()

Returns a string representation of this object; useful for testing and debugging.

Returns
  • A string representation of this object.
See Also

public DeleteMessageBatchResult withFailed (BatchResultErrorEntry... failed)

A list of BatchResultErrorEntry items.

Returns a reference to this object so that method calls can be chained together.

Parameters
failed A list of BatchResultErrorEntry items.
Returns
  • A reference to this updated object so that method calls can be chained together.

public DeleteMessageBatchResult withSuccessful (DeleteMessageBatchResultEntry... successful)

A list of DeleteMessageBatchResultEntry items.

Returns a reference to this object so that method calls can be chained together.

Parameters
successful A list of DeleteMessageBatchResultEntry items.
Returns
  • A reference to this updated object so that method calls can be chained together.