public static interface Participants.Builder extends CopyableBuilder<Participants.Builder,Participants>
Modifier and Type | Method and Description |
---|---|
Participants.Builder |
groups(Collection<GroupMetadata> groups)
The list of user groups.
|
Participants.Builder |
groups(Consumer<GroupMetadata.Builder>... groups)
The list of user groups.
|
Participants.Builder |
groups(GroupMetadata... groups)
The list of user groups.
|
Participants.Builder |
users(Collection<UserMetadata> users)
The list of users.
|
Participants.Builder |
users(Consumer<UserMetadata.Builder>... users)
The list of users.
|
Participants.Builder |
users(UserMetadata... users)
The list of users.
|
copy
applyMutation, build
Participants.Builder users(Collection<UserMetadata> users)
The list of users.
users
- The list of users.Participants.Builder users(UserMetadata... users)
The list of users.
users
- The list of users.Participants.Builder users(Consumer<UserMetadata.Builder>... users)
The list of users.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #users(List)
.users
- a consumer that will call methods on List.Builder
#users(List)
Participants.Builder groups(Collection<GroupMetadata> groups)
The list of user groups.
groups
- The list of user groups.Participants.Builder groups(GroupMetadata... groups)
The list of user groups.
groups
- The list of user groups.Participants.Builder groups(Consumer<GroupMetadata.Builder>... groups)
The list of user groups.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #groups(List)
.groups
- a consumer that will call methods on List.Builder
#groups(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.