public final class

BatchResultErrorEntry

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

Class Overview

This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.

Summary

Constants
long serialVersionUID
Fields
private final String code An error code representing why the action failed on this entry.
private final String id The id of an entry in a batch request.
private final String message A message explaining why the action failed on this entry.
private final Boolean senderFault Whether the error happened due to the sender's fault.
Public Constructors
BatchResultErrorEntry(String id, String message, String code, Boolean senderFault)
Public Methods
final boolean equals(Object obj)
String getCode()
An error code representing why the action failed on this entry.
String getId()
The id of an entry in a batch request.
String getMessage()
A message explaining why the action failed on this entry.
Boolean getSenderFault()
Whether the error happened due to the sender's fault.
final int hashCode()
Boolean isSenderFault()
Whether the error happened due to the sender's fault.
String toString()
Returns a string representation of this object; useful for testing and debugging.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -1009177625416514019 (0xf1feae4be9c6c61d)

Fields

private final String code

An error code representing why the action failed on this entry.

private final String id

The id of an entry in a batch request.

private final String message

A message explaining why the action failed on this entry.

private final Boolean senderFault

Whether the error happened due to the sender's fault.

Public Constructors

public BatchResultErrorEntry (String id, String message, String code, Boolean senderFault)

Parameters
id
message
code
senderFault

Public Methods

public final boolean equals (Object obj)

Parameters
obj

public String getCode ()

An error code representing why the action failed on this entry.

Returns
  • An error code representing why the action failed on this entry.

public String getId ()

The id of an entry in a batch request.

Returns
  • The id of an entry in a batch request.

public String getMessage ()

A message explaining why the action failed on this entry.

Returns
  • A message explaining why the action failed on this entry.

public Boolean getSenderFault ()

Whether the error happened due to the sender's fault.

Returns
  • Whether the error happened due to the sender's fault.

public final int hashCode ()

public Boolean isSenderFault ()

Whether the error happened due to the sender's fault.

Returns
  • Whether the error happened due to the sender's fault.

public String toString ()

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

Returns
  • A string representation of this object.
See Also