public final class

MessageAttributeValue

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

Summary

Constants
long serialVersionUID
Fields
ByteBuffer binaryValue Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.
private String dataType Amazon SQS supports the following logical data types: String, Number, and Binary.
private String stringValue Strings are Unicode with UTF8 binary encoding.
Public Constructors
MessageAttributeValue()
Public Methods
final boolean equals(Object o)
ByteBuffer getBinaryValue()
String getDataType()
String getStringValue()
final int hashCode()
void setBinaryValue(ByteBuffer binaryValue)
void setDataType(String dataType)
void setStringValue(String stringValue)
String toString()
Returns a string representation of this object; useful for testing and debugging.
MessageAttributeValue withBinaryValue(ByteBuffer binaryValue)
MessageAttributeValue withDataType(String dataType)
MessageAttributeValue withStringValue(String stringValue)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -6396615397747213486 (0xa73aa82fbc7bbb52)

Fields

ByteBuffer binaryValue

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

private 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 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 ()

Public Methods

public final boolean equals (Object o)

Parameters
o

public ByteBuffer getBinaryValue ()

public String getDataType ()

public String getStringValue ()

public final int hashCode ()

public void setBinaryValue (ByteBuffer binaryValue)

Parameters
binaryValue

public void setDataType (String dataType)

Parameters
dataType

public void setStringValue (String stringValue)

Parameters
stringValue

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 MessageAttributeValue withBinaryValue (ByteBuffer binaryValue)

Parameters
binaryValue

public MessageAttributeValue withDataType (String dataType)

Parameters
dataType

public MessageAttributeValue withStringValue (String stringValue)

Parameters
stringValue