Interface Message.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Message.Builder,,Message> SdkBuilder<Message.Builder,,Message> SdkPojo
- Enclosing class:
Message
-
Method Summary
Modifier and TypeMethodDescriptionThe ID you want to assign to the message.The payload of the message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
messageId
The ID you want to assign to the message. Each
messageIdmust be unique within each batch sent.- Parameters:
messageId- The ID you want to assign to the message. EachmessageIdmust be unique within each batch sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The payload of the message. This can 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.
- Parameters:
payload- The payload of the message. This can 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-