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<S3.Builder> s3PathForGroupMembers) Sets the value of the S3PathForGroupMembers property for this object.s3PathForGroupMembers
(S3 s3PathForGroupMembers) Sets the value of the S3PathForGroupMembers property for this object.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, 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.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
Sets the value of the S3PathForGroupMembers property for this object.- Parameters:
s3PathForGroupMembers
- The new value for the S3PathForGroupMembers property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3PathForGroupMembers
Sets the value of the S3PathForGroupMembers property for this object. This is a convenience method that creates an instance of theS3.Builder
avoiding the need to create one manually viaS3.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3PathForGroupMembers(S3)
.- Parameters:
s3PathForGroupMembers
- a consumer that will call methods onS3.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-