Struct aws_sdk_workdocs::model::participants::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Participants
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn users(self, input: UserMetadata) -> Self
pub fn users(self, input: UserMetadata) -> Self
Appends an item to users
.
To override the contents of this collection use set_users
.
The list of users.
sourcepub fn set_users(self, input: Option<Vec<UserMetadata>>) -> Self
pub fn set_users(self, input: Option<Vec<UserMetadata>>) -> Self
The list of users.
sourcepub fn groups(self, input: GroupMetadata) -> Self
pub fn groups(self, input: GroupMetadata) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
The list of user groups.
sourcepub fn set_groups(self, input: Option<Vec<GroupMetadata>>) -> Self
pub fn set_groups(self, input: Option<Vec<GroupMetadata>>) -> Self
The list of user groups.
sourcepub fn build(self) -> Participants
pub fn build(self) -> Participants
Consumes the builder and constructs a Participants
.