LrSqsMessageAttributeValue
Represents a user-defined attribute that can accompany an LrSqsMessage. Usually attributes are sent as key-value pairs. This entity represents the value of such a pair.
This object can store strings, integers, doubles, or binary values. The object can be created by the LrSqsMessage class using designated APIs:
- createMessageAttributeValueString
- createMessageAttributeValueInt
- createMessageAttributeValueDouble
- createMessageAttributeValueBinary
The LrSqsMessageAttributeValue class includes the following methods:
LrSqsMessageAttributeValue.binaryValue | Returns the value of the attribute as a binary. |
LrSqsMessageAttributeValue.binaryValueCopy | Returns a copy of the attribute's value as a binary. |
LrSqsMessageAttributeValue.dataType | Returns the data type of the attribute as a string. |
LrSqsMessageAttributeValue.doubleValue | Returns the value of the attribute as a double. |
LrSqsMessageAttributeValue.intValue | Returns the value of the attribute as an integer. |
LrSqsMessageAttributeValue.stringValue | Returns the value of the attribute as a string. |