Struct aws_sdk_sqs::input::change_message_visibility_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ChangeMessageVisibilityInput
.
Implementations§
source§impl Builder
impl Builder
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 message's visibility is changed.
Queue URLs and names are case-sensitive.
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 message's visibility is changed.
Queue URLs and names are case-sensitive.
sourcepub fn receipt_handle(self, input: impl Into<String>) -> Self
pub fn receipt_handle(self, input: impl Into<String>) -> Self
The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the
action.ReceiveMessage
sourcepub fn set_receipt_handle(self, input: Option<String>) -> Self
pub fn set_receipt_handle(self, input: Option<String>) -> Self
The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the
action.ReceiveMessage
sourcepub fn visibility_timeout(self, input: i32) -> Self
pub fn visibility_timeout(self, input: i32) -> Self
The new value for the message's visibility timeout (in seconds). Values range: 0
to 43200
. Maximum: 12 hours.
sourcepub fn set_visibility_timeout(self, input: Option<i32>) -> Self
pub fn set_visibility_timeout(self, input: Option<i32>) -> Self
The new value for the message's visibility timeout (in seconds). Values range: 0
to 43200
. Maximum: 12 hours.
sourcepub fn build(self) -> Result<ChangeMessageVisibilityInput, BuildError>
pub fn build(self) -> Result<ChangeMessageVisibilityInput, BuildError>
Consumes the builder and constructs a ChangeMessageVisibilityInput
.