Interface GroupMembership.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupMembership.Builder,,GroupMembership> SdkBuilder<GroupMembership.Builder,,GroupMembership> SdkPojo
- Enclosing class:
GroupMembership
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the group membership was created.The identifier of the user or system that created the group membership.The 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.The date and time the group membership was last updated.The identifier of the user or system that last updated the group membership.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
-
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:
-
createdAt
The date and time the group membership was created.
- Parameters:
createdAt- The date and time the group membership was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the group membership was last updated.
- Parameters:
updatedAt- The date and time the group membership was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The identifier of the user or system that created the group membership.
- Parameters:
createdBy- The identifier of the user or system that created the group membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The identifier of the user or system that last updated the group membership.
- Parameters:
updatedBy- The identifier of the user or system that last updated the group membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-