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.Builders3PathforGroupMembers(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaMemberGroup.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMemberUser.builder().When the
Consumercompletes,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,
dataSourceIdis optional. The value oftypefor a group is alwaysGROUPand 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,
dataSourceIdis optional. The value oftypefor a group is alwaysGROUPand 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 thedataSourceIdis optional. The value oftypefor a group is alwaysGROUPand for a user it is alwaysUSER.S3Path.Builderavoiding the need to create one manually viaS3Path.builder().When the
Consumercompletes,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:
-