Struct aws_sdk_mq::operation::list_users::builders::ListUsersOutputBuilder
source · #[non_exhaustive]pub struct ListUsersOutputBuilder { /* private fields */ }
Expand description
A builder for ListUsersOutput
.
Implementations§
source§impl ListUsersOutputBuilder
impl ListUsersOutputBuilder
sourcepub fn broker_id(self, input: impl Into<String>) -> Self
pub fn broker_id(self, input: impl Into<String>) -> Self
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn set_broker_id(self, input: Option<String>) -> Self
pub fn set_broker_id(self, input: Option<String>) -> Self
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn get_broker_id(&self) -> &Option<String>
pub fn get_broker_id(&self) -> &Option<String>
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn users(self, input: UserSummary) -> Self
pub fn users(self, input: UserSummary) -> Self
Appends an item to users
.
To override the contents of this collection use set_users
.
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
sourcepub fn set_users(self, input: Option<Vec<UserSummary>>) -> Self
pub fn set_users(self, input: Option<Vec<UserSummary>>) -> Self
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
sourcepub fn get_users(&self) -> &Option<Vec<UserSummary>>
pub fn get_users(&self) -> &Option<Vec<UserSummary>>
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
sourcepub fn build(self) -> ListUsersOutput
pub fn build(self) -> ListUsersOutput
Consumes the builder and constructs a ListUsersOutput
.
Trait Implementations§
source§impl Clone for ListUsersOutputBuilder
impl Clone for ListUsersOutputBuilder
source§fn clone(&self) -> ListUsersOutputBuilder
fn clone(&self) -> ListUsersOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListUsersOutputBuilder
impl Debug for ListUsersOutputBuilder
source§impl Default for ListUsersOutputBuilder
impl Default for ListUsersOutputBuilder
source§fn default() -> ListUsersOutputBuilder
fn default() -> ListUsersOutputBuilder
source§impl PartialEq for ListUsersOutputBuilder
impl PartialEq for ListUsersOutputBuilder
source§fn eq(&self, other: &ListUsersOutputBuilder) -> bool
fn eq(&self, other: &ListUsersOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.