Interface GroupMembers.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GroupMembers.Builder,GroupMembers>,SdkBuilder<GroupMembers.Builder,GroupMembers>,SdkPojo
- Enclosing class:
- GroupMembers
public static interface GroupMembers.Builder extends SdkPojo, CopyableBuilder<GroupMembers.Builder,GroupMembers>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GroupMembers.BuildermemberGroups(Collection<MemberGroup> memberGroups)A list of sub groups that belong to a group.GroupMembers.BuildermemberGroups(Consumer<MemberGroup.Builder>... memberGroups)A list of sub groups that belong to a group.GroupMembers.BuildermemberGroups(MemberGroup... memberGroups)A list of sub groups that belong to a group.GroupMembers.BuildermemberUsers(Collection<MemberUser> memberUsers)A list of users that belong to a group.GroupMembers.BuildermemberUsers(Consumer<MemberUser.Builder>... memberUsers)A list of users that belong to a group.GroupMembers.BuildermemberUsers(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.GroupMembers.Builders3PathforGroupMembers(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 Detail
-
memberGroups
GroupMembers.Builder memberGroups(Collection<MemberGroup> 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
GroupMembers.Builder memberGroups(MemberGroup... 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
GroupMembers.Builder memberGroups(Consumer<MemberGroup.Builder>... 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 to#memberGroups(List.) - 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:
#memberGroups(java.util.Collection)
-
memberUsers
GroupMembers.Builder memberUsers(Collection<MemberUser> 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
GroupMembers.Builder memberUsers(MemberUser... 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
GroupMembers.Builder memberUsers(Consumer<MemberUser.Builder>... 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 to#memberUsers(List.) - 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:
#memberUsers(java.util.Collection)
-
s3PathforGroupMembers
GroupMembers.Builder 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. 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
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. 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:
s3PathforGroupMembers(S3Path)
-
-