Struct aws_sdk_workmail::output::list_groups_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListGroupsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn groups(self, input: Group) -> Self
pub fn groups(self, input: Group) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
The overview of groups for an organization.
sourcepub fn set_groups(self, input: Option<Vec<Group>>) -> Self
pub fn set_groups(self, input: Option<Vec<Group>>) -> Self
The overview of groups for an organization.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
sourcepub fn build(self) -> ListGroupsOutput
pub fn build(self) -> ListGroupsOutput
Consumes the builder and constructs a ListGroupsOutput
.