Struct aws_sdk_sqs::input::list_queues_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListQueuesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn queue_name_prefix(self, input: impl Into<String>) -> Self
pub fn queue_name_prefix(self, input: impl Into<String>) -> Self
A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.
Queue URLs and names are case-sensitive.
sourcepub fn set_queue_name_prefix(self, input: Option<String>) -> Self
pub fn set_queue_name_prefix(self, input: Option<String>) -> Self
A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.
Queue URLs and names are case-sensitive.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token to request the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token to request the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Maximum number of results to include in the response. Value range is 1 to 1000. You must set MaxResults
to receive a value for NextToken
in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Maximum number of results to include in the response. Value range is 1 to 1000. You must set MaxResults
to receive a value for NextToken
in the response.
sourcepub fn build(self) -> Result<ListQueuesInput, BuildError>
pub fn build(self) -> Result<ListQueuesInput, BuildError>
Consumes the builder and constructs a ListQueuesInput
.