Interface MessageAttributeValue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MessageAttributeValue.Builder,MessageAttributeValue>,SdkBuilder<MessageAttributeValue.Builder,MessageAttributeValue>,SdkPojo
- Enclosing class:
- MessageAttributeValue
@Mutable @NotThreadSafe public static interface MessageAttributeValue.Builder extends SdkPojo, CopyableBuilder<MessageAttributeValue.Builder,MessageAttributeValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageAttributeValue.BuilderbinaryValue(SdkBytes binaryValue)Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.MessageAttributeValue.BuilderdataType(String dataType)Amazon SNS supports the following logical data types: String, String.Array, Number, and Binary.MessageAttributeValue.BuilderstringValue(String stringValue)Strings are Unicode with UTF8 binary encoding.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dataType
MessageAttributeValue.Builder dataType(String dataType)
Amazon SNS supports the following logical data types: String, String.Array, Number, and Binary. For more information, see Message Attribute Data Types.
- Parameters:
dataType- Amazon SNS supports the following logical data types: String, String.Array, Number, and Binary. For more information, see Message Attribute Data Types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringValue
MessageAttributeValue.Builder stringValue(String stringValue)
Strings are Unicode with UTF8 binary encoding. For a list of code values, see ASCII Printable Characters.
- Parameters:
stringValue- Strings are Unicode with UTF8 binary encoding. For a list of code values, see ASCII Printable Characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
binaryValue
MessageAttributeValue.Builder binaryValue(SdkBytes binaryValue)
Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.
- Parameters:
binaryValue- Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-