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.BuildermemberId(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 aGroupMembershipobject in an identity store.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, 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
GroupMembershipobject in an identity store.- Parameters:
membershipId- The identifier for aGroupMembershipobject 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
UserIDfield 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 theUserIDfield 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 theUserIDfield to the specific identifier for a user indicates that the user is a member of the group.MemberId.Builderavoiding the need to create one manually viaMemberId.builder().When the
Consumercompletes,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:
-