public final class

SendMessageBatchRequestEntry

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

Class Overview

Contains the details of a single Amazon SQS message along with a Id .

Summary

Constants
long serialVersionUID
Fields
private final Integer delaySeconds The number of seconds for which the message has to be delayed.
private final String id An identifier for the message in this batch.
private final Map<String, MessageAttributeValue> messageAttributes Each message attribute consists of a Name, Type, and Value.
private final String messageBody Body of the message.
Public Constructors
SendMessageBatchRequestEntry(String id, String messageBody, Integer delaySeconds, Map<String, MessageAttributeValue> messageAttributes)
Public Methods
final boolean equals(Object o)
Integer getDelaySeconds()
The number of seconds for which the message has to be delayed.
String getId()
An identifier for the message in this batch.
Map<String, MessageAttributeValue> getMessageAttributes()
Each message attribute consists of a Name, Type, and Value.
String getMessageBody()
Body of the message.
final int hashCode()
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: -7982334480515538615 (0x91390d150a84e149)

Fields

private final Integer delaySeconds

The number of seconds for which the message has to be delayed.

private final String id

An identifier for the message in this batch. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.

private final Map<String, MessageAttributeValue> messageAttributes

Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items.

private final String messageBody

Body of the message.

Public Constructors

public SendMessageBatchRequestEntry (String id, String messageBody, Integer delaySeconds, Map<String, MessageAttributeValue> messageAttributes)

Parameters
id
messageBody
delaySeconds
messageAttributes

Public Methods

public final boolean equals (Object o)

Parameters
o

public Integer getDelaySeconds ()

The number of seconds for which the message has to be delayed.

Returns
  • The number of seconds for which the message has to be delayed.

public String getId ()

An identifier for the message in this batch. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.

Returns
  • An identifier for the message in this batch. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.

public Map<String, MessageAttributeValue> getMessageAttributes ()

Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items.

Returns

public String getMessageBody ()

Body of the message.

Returns
  • Body of the message.

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