Interface MembershipSummary.Builder

  • Method Details

    • membershipId

      MembershipSummary.Builder membershipId(String membershipId)

      The unique identifier of the membership.

      Parameters:
      membershipId - The unique identifier of the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationId

      MembershipSummary.Builder applicationId(String applicationId)

      The unique identifier of the application.

      Parameters:
      applicationId - The unique identifier of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentSpaceId

      MembershipSummary.Builder agentSpaceId(String agentSpaceId)

      The unique identifier of the agent space.

      Parameters:
      agentSpaceId - The unique identifier of the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberType

      MembershipSummary.Builder memberType(String memberType)

      The type of member.

      Parameters:
      memberType - The type of member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • memberType

      MembershipSummary.Builder memberType(MembershipType memberType)

      The type of member.

      Parameters:
      memberType - The type of member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • config

      The configuration for the membership.

      Parameters:
      config - The configuration for the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      The configuration for the membership.

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

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

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

      The metadata for the member.

      Parameters:
      metadata - The metadata for the member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      The metadata for the member.

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

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

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

      MembershipSummary.Builder createdAt(Instant createdAt)

      The date and time the membership was created, in UTC format.

      Parameters:
      createdAt - The date and time the membership was created, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      MembershipSummary.Builder updatedAt(Instant updatedAt)

      The date and time the membership was last updated, in UTC format.

      Parameters:
      updatedAt - The date and time the membership was last updated, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      MembershipSummary.Builder createdBy(String createdBy)

      The identifier of the entity that created the membership.

      Parameters:
      createdBy - The identifier of the entity that created the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedBy

      MembershipSummary.Builder updatedBy(String updatedBy)

      The identifier of the entity that last updated the membership.

      Parameters:
      updatedBy - The identifier of the entity that last updated the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.