Interface GroupMembership.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GroupMembership.Builder,
,GroupMembership> SdkBuilder<GroupMembership.Builder,
,GroupMembership> SdkPojo
- Enclosing class:
GroupMembership
public static interface GroupMembership.Builder
extends SdkPojo, CopyableBuilder<GroupMembership.Builder,GroupMembership>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for a group in the identity store.identityStoreId
(String identityStoreId) The globally unique identifier for the identity store.default GroupMembership.Builder
memberId
(Consumer<MemberId.Builder> memberId) An object that contains the identifier of a group member.An object that contains the identifier of a group member.membershipId
(String membershipId) The identifier for aGroupMembership
object in an identity store.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
-
identityStoreId
The globally unique identifier for the identity store.
- Parameters:
identityStoreId
- The globally unique identifier for the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipId
The identifier for a
GroupMembership
object in an identity store.- Parameters:
membershipId
- The identifier for aGroupMembership
object in an identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
The identifier for a group in the identity store.
- Parameters:
groupId
- The identifier for a group in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberId
An object that contains the identifier of a group member. Setting the
UserID
field to the specific identifier for a user indicates that the user is a member of the group.- Parameters:
memberId
- An object that contains the identifier of a group member. Setting theUserID
field to the specific identifier for a user indicates that the user is a member of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberId
An object that contains the identifier of a group member. Setting the
This is a convenience method that creates an instance of theUserID
field to the specific identifier for a user indicates that the user is a member of the group.MemberId.Builder
avoiding the need to create one manually viaMemberId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberId(MemberId)
.- Parameters:
memberId
- a consumer that will call methods onMemberId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-