Interface GroupMembers.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GroupMembers.Builder,
,GroupMembers> SdkBuilder<GroupMembers.Builder,
,GroupMembers> SdkPojo
- Enclosing class:
GroupMembers
-
Method Summary
Modifier and TypeMethodDescriptionmemberGroups
(Collection<MemberGroup> memberGroups) A list of sub groups that belong to a group.memberGroups
(Consumer<MemberGroup.Builder>... memberGroups) A list of sub groups that belong to a group.memberGroups
(MemberGroup... memberGroups) A list of sub groups that belong to a group.memberUsers
(Collection<MemberUser> memberUsers) A list of users that belong to a group.memberUsers
(Consumer<MemberUser.Builder>... memberUsers) A list of users that belong to a group.memberUsers
(MemberUser... memberUsers) A list of users that belong to a group.default GroupMembers.Builder
s3PathforGroupMembers
(Consumer<S3Path.Builder> s3PathforGroupMembers) If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group.s3PathforGroupMembers
(S3Path s3PathforGroupMembers) If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
memberGroups
A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
- Parameters:
memberGroups
- A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberGroups
A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
- Parameters:
memberGroups
- A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberGroups
A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
This is a convenience method that creates an instance of theMemberGroup.Builder
avoiding the need to create one manually viaMemberGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberGroups(List<MemberGroup>)
.- Parameters:
memberGroups
- a consumer that will call methods onMemberGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberUsers
A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
- Parameters:
memberUsers
- A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberUsers
A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
- Parameters:
memberUsers
- A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberUsers
A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
This is a convenience method that creates an instance of theMemberUser.Builder
avoiding the need to create one manually viaMemberUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberUsers(List<MemberUser>)
.- Parameters:
memberUsers
- a consumer that will call methods onMemberUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3PathforGroupMembers
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3 file that uses the correct format for listing group members. Note,
dataSourceId
is optional. The value oftype
for a group is alwaysGROUP
and for a user it is alwaysUSER
.- Parameters:
s3PathforGroupMembers
- If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.You can download this example S3 file that uses the correct format for listing group members. Note,
dataSourceId
is optional. The value oftype
for a group is alwaysGROUP
and for a user it is alwaysUSER
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3PathforGroupMembers
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3 file that uses the correct format for listing group members. Note,
This is a convenience method that creates an instance of thedataSourceId
is optional. The value oftype
for a group is alwaysGROUP
and for a user it is alwaysUSER
.S3Path.Builder
avoiding the need to create one manually viaS3Path.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3PathforGroupMembers(S3Path)
.- Parameters:
s3PathforGroupMembers
- a consumer that will call methods onS3Path.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-