public static interface Message.Builder extends SdkPojo, CopyableBuilder<Message.Builder,Message>
Modifier and Type | Method and Description |
---|---|
Message.Builder |
messageId(String messageId)
The ID you wish to assign to the message.
|
Message.Builder |
payload(SdkBytes payload)
The payload of the message.
|
copy
applyMutation, build
Message.Builder messageId(String messageId)
The ID you wish to assign to the message. Each "messageId" must be unique within each batch sent.
messageId
- The ID you wish to assign to the message. Each "messageId" must be unique within each batch sent.Message.Builder payload(SdkBytes payload)
The payload of the message. This may be a JSON string or a Base64-encoded string representing binary data (in which case you must decode it by means of a pipeline activity).
payload
- The payload of the message. This may be a JSON string or a Base64-encoded string representing binary
data (in which case you must decode it by means of a pipeline activity).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.