Struct aws_sdk_sqs::input::purge_queue_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PurgeQueueInput
.
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 queue from which the PurgeQueue
action deletes messages.
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 queue from which the PurgeQueue
action deletes messages.
Queue URLs and names are case-sensitive.
sourcepub fn build(self) -> Result<PurgeQueueInput, BuildError>
pub fn build(self) -> Result<PurgeQueueInput, BuildError>
Consumes the builder and constructs a PurgeQueueInput
.