public static interface MessageAttributeValue.Builder extends CopyableBuilder<MessageAttributeValue.Builder,MessageAttributeValue>
Modifier and Type | Method and Description |
---|---|
MessageAttributeValue.Builder |
binaryValue(ByteBuffer binaryValue)
Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.
|
MessageAttributeValue.Builder |
dataType(String dataType)
Amazon SNS supports the following logical data types: String, Number, and Binary.
|
MessageAttributeValue.Builder |
stringValue(String stringValue)
Strings are Unicode with UTF8 binary encoding.
|
copy
apply, build
MessageAttributeValue.Builder dataType(String dataType)
Amazon SNS supports the following logical data types: String, Number, and Binary. For more information, see Message Attribute Data Types.
dataType
- Amazon SNS supports the following logical data types: String, Number, and Binary. For more
information, see Message Attribute Data Types.MessageAttributeValue.Builder stringValue(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.
stringValue
- Strings are Unicode with UTF8 binary encoding. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.MessageAttributeValue.Builder binaryValue(ByteBuffer binaryValue)
Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
binaryValue
- Binary type attributes can store any binary data, for example, compressed data, encrypted data, or
images.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.