Struct aws_sdk_sqs::operation::change_message_visibility_batch::builders::ChangeMessageVisibilityBatchInputBuilder
source · #[non_exhaustive]pub struct ChangeMessageVisibilityBatchInputBuilder { /* private fields */ }
Expand description
A builder for ChangeMessageVisibilityBatchInput
.
Implementations§
source§impl ChangeMessageVisibilityBatchInputBuilder
impl ChangeMessageVisibilityBatchInputBuilder
sourcepub fn queue_url(self, input: impl Into<String>) -> Self
pub fn queue_url(self, input: impl Into<String>) -> Self
The URL of the Amazon SQS queue whose messages' visibility is changed.
Queue URLs and names are case-sensitive.
This field is required.sourcepub fn set_queue_url(self, input: Option<String>) -> Self
pub fn set_queue_url(self, input: Option<String>) -> Self
The URL of the Amazon SQS queue whose messages' visibility is changed.
Queue URLs and names are case-sensitive.
sourcepub fn get_queue_url(&self) -> &Option<String>
pub fn get_queue_url(&self) -> &Option<String>
The URL of the Amazon SQS queue whose messages' visibility is changed.
Queue URLs and names are case-sensitive.
sourcepub fn entries(self, input: ChangeMessageVisibilityBatchRequestEntry) -> Self
pub fn entries(self, input: ChangeMessageVisibilityBatchRequestEntry) -> Self
Appends an item to entries
.
To override the contents of this collection use set_entries
.
Lists the receipt handles of the messages for which the visibility timeout must be changed.
sourcepub fn set_entries(
self,
input: Option<Vec<ChangeMessageVisibilityBatchRequestEntry>>
) -> Self
pub fn set_entries( self, input: Option<Vec<ChangeMessageVisibilityBatchRequestEntry>> ) -> Self
Lists the receipt handles of the messages for which the visibility timeout must be changed.
sourcepub fn get_entries(
&self
) -> &Option<Vec<ChangeMessageVisibilityBatchRequestEntry>>
pub fn get_entries( &self ) -> &Option<Vec<ChangeMessageVisibilityBatchRequestEntry>>
Lists the receipt handles of the messages for which the visibility timeout must be changed.
sourcepub fn build(self) -> Result<ChangeMessageVisibilityBatchInput, BuildError>
pub fn build(self) -> Result<ChangeMessageVisibilityBatchInput, BuildError>
Consumes the builder and constructs a ChangeMessageVisibilityBatchInput
.
source§impl ChangeMessageVisibilityBatchInputBuilder
impl ChangeMessageVisibilityBatchInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ChangeMessageVisibilityBatchOutput, SdkError<ChangeMessageVisibilityBatchError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ChangeMessageVisibilityBatchOutput, SdkError<ChangeMessageVisibilityBatchError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ChangeMessageVisibilityBatchInputBuilder
impl Clone for ChangeMessageVisibilityBatchInputBuilder
source§fn clone(&self) -> ChangeMessageVisibilityBatchInputBuilder
fn clone(&self) -> ChangeMessageVisibilityBatchInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ChangeMessageVisibilityBatchInputBuilder
impl Default for ChangeMessageVisibilityBatchInputBuilder
source§fn default() -> ChangeMessageVisibilityBatchInputBuilder
fn default() -> ChangeMessageVisibilityBatchInputBuilder
source§impl PartialEq for ChangeMessageVisibilityBatchInputBuilder
impl PartialEq for ChangeMessageVisibilityBatchInputBuilder
source§fn eq(&self, other: &ChangeMessageVisibilityBatchInputBuilder) -> bool
fn eq(&self, other: &ChangeMessageVisibilityBatchInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.