public final class

MessageAttributeValue

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

Summary

Constants
long serialVersionUID
Fields
private final ByteBuffer binaryValue Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.
private final String dataType Amazon SQS supports the following logical data types: String, Number, and Binary.
private final String stringValue Strings are Unicode with UTF8 binary encoding.
Public Constructors
MessageAttributeValue(ByteBuffer binaryValue, String stringValue, String dataType)
Public Methods
final boolean equals(Object o)
ByteBuffer getBinaryValue()
Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.
String getDataType()
Amazon SQS supports the following logical data types: String, Number, and Binary.
String getStringValue()
Strings are Unicode with UTF8 binary encoding.
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: -6396615397747213486 (0xa73aa82fbc7bbb52)

Fields

private final ByteBuffer binaryValue

Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.

private final String dataType

Amazon SQS supports the following logical data types: String, Number, and Binary. In addition, you can append your own custom labels. For more information, see Message Attribute Data Types.

private final String stringValue

Strings are Unicode with UTF8 binary encoding. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

Public Constructors

public MessageAttributeValue (ByteBuffer binaryValue, String stringValue, String dataType)

Parameters
binaryValue
stringValue
dataType

Public Methods

public final boolean equals (Object o)

Parameters
o

public ByteBuffer getBinaryValue ()

Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.

Returns
  • Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.

public String getDataType ()

Amazon SQS supports the following logical data types: String, Number, and Binary. In addition, you can append your own custom labels. For more information, see Message Attribute Data Types.

Returns
  • Amazon SQS supports the following logical data types: String, Number, and Binary. In addition, you can append your own custom labels. For more information, see Message Attribute Data Types.

public String getStringValue ()

Strings are Unicode with UTF8 binary encoding. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

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