Interface GroupMembership.Builder

  • Method Details

    • identityStoreId

      GroupMembership.Builder identityStoreId(String 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

      GroupMembership.Builder membershipId(String membershipId)

      The identifier for a GroupMembership object in an identity store.

      Parameters:
      membershipId - The identifier for a GroupMembership object in an identity store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupId

      GroupMembership.Builder groupId(String 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

      GroupMembership.Builder memberId(MemberId 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 the UserID 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

      default GroupMembership.Builder memberId(Consumer<MemberId.Builder> 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.

      This is a convenience method that creates an instance of the MemberId.Builder avoiding the need to create one manually via MemberId.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to memberId(MemberId).

      Parameters:
      memberId - a consumer that will call methods on MemberId.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      GroupMembership.Builder createdAt(Instant 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

      GroupMembership.Builder updatedAt(Instant 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

      GroupMembership.Builder createdBy(String 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

      GroupMembership.Builder updatedBy(String 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.