public final class

SendMessageBatchResult

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

Class Overview

For each message in the batch, the response contains a SendMessageBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.

Summary

Constants
long serialVersionUID
Fields
private final List<BatchResultErrorEntry> failed A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
private final List<SendMessageBatchResultEntry> successful A list of SendMessageBatchResultEntry items.
Public Constructors
SendMessageBatchResult(List<BatchResultErrorEntry> failed, List<SendMessageBatchResultEntry> successful)
Public Methods
final boolean equals(Object o)
List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
List<SendMessageBatchResultEntry> getSuccessful()
final int hashCode()
String toString()
Returns a string representation of this object; useful for testing and debugging.
SendMessageBatchResult withSuccessful(SendMessageBatchResultEntry... successful)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -2576192297070762611 (0xdc3f86c14bffe58d)

Fields

private final List<BatchResultErrorEntry> failed

A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

private final List<SendMessageBatchResultEntry> successful

A list of SendMessageBatchResultEntry items.

Public Constructors

public SendMessageBatchResult (List<BatchResultErrorEntry> failed, List<SendMessageBatchResultEntry> successful)

Parameters
failed
successful

Public Methods

public final boolean equals (Object o)

Parameters
o

public List<BatchResultErrorEntry> getFailed ()

A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

Returns
  • A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

public List<SendMessageBatchResultEntry> getSuccessful ()

Returns

public final 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 SendMessageBatchResult withSuccessful (SendMessageBatchResultEntry... successful)

A list of SendMessageBatchResultEntry items.

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

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