Struct aws_sdk_iotanalytics::model::message::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Message.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
The ID you want to assign to the message. Each messageId must be unique within each batch sent.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
The ID you want to assign to the message. Each messageId must be unique within each batch sent.
sourcepub fn payload(self, input: Blob) -> Self
pub fn payload(self, input: Blob) -> Self
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.
sourcepub fn set_payload(self, input: Option<Blob>) -> Self
pub fn set_payload(self, input: Option<Blob>) -> Self
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.