Struct aws_sdk_sqs::output::receive_message_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ReceiveMessageOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn messages(self, input: Message) -> Self
pub fn messages(self, input: Message) -> Self
Appends an item to messages
.
To override the contents of this collection use set_messages
.
A list of messages.
sourcepub fn set_messages(self, input: Option<Vec<Message>>) -> Self
pub fn set_messages(self, input: Option<Vec<Message>>) -> Self
A list of messages.
sourcepub fn build(self) -> ReceiveMessageOutput
pub fn build(self) -> ReceiveMessageOutput
Consumes the builder and constructs a ReceiveMessageOutput
.