Class MessageAttributeValue

java.lang.Object
software.amazon.awssdk.services.sns.model.MessageAttributeValue
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<MessageAttributeValue.Builder,MessageAttributeValue>

@Generated("software.amazon.awssdk:codegen") public final class MessageAttributeValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MessageAttributeValue.Builder,MessageAttributeValue>

The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see Publish.

Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is 256 KiB (262,144 bytes) by default and is determined by the topic's MaximumMessageSize attribute. For more information, see Large message payloads, Amazon SNS message attributes and Publishing to a mobile phone in the Amazon SNS Developer Guide.

See Also: