Interface Membership.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Membership.Builder,Membership>, SdkBuilder<Membership.Builder,Membership>, SdkPojo
Enclosing class:
Membership

public static interface Membership.Builder extends SdkPojo, CopyableBuilder<Membership.Builder,Membership>
  • Method Details

    • id

      The unique ID of the membership.

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

      The unique ARN for the membership.

      Parameters:
      arn - The unique ARN for the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaborationArn

      Membership.Builder collaborationArn(String collaborationArn)

      The unique ARN for the membership's associated collaboration.

      Parameters:
      collaborationArn - The unique ARN for the membership's associated collaboration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaborationId

      Membership.Builder collaborationId(String collaborationId)

      The unique ID for the membership's collaboration.

      Parameters:
      collaborationId - The unique ID for the membership's collaboration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaborationCreatorAccountId

      Membership.Builder collaborationCreatorAccountId(String collaborationCreatorAccountId)

      The identifier used to reference members of the collaboration. Currently only supports Amazon Web Services account ID.

      Parameters:
      collaborationCreatorAccountId - The identifier used to reference members of the collaboration. Currently only supports Amazon Web Services account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaborationCreatorDisplayName

      Membership.Builder collaborationCreatorDisplayName(String collaborationCreatorDisplayName)

      The display name of the collaboration creator.

      Parameters:
      collaborationCreatorDisplayName - The display name of the collaboration creator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaborationName

      Membership.Builder collaborationName(String collaborationName)

      The name of the membership's collaboration.

      Parameters:
      collaborationName - The name of the membership's collaboration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTime

      Membership.Builder createTime(Instant createTime)

      The time when the membership was created.

      Parameters:
      createTime - The time when the membership was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateTime

      Membership.Builder updateTime(Instant updateTime)

      The time the membership metadata was last updated.

      Parameters:
      updateTime - The time the membership metadata was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Membership.Builder status(String status)

      The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.

      Parameters:
      status - The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.

      Parameters:
      status - The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • memberAbilitiesWithStrings

      Membership.Builder memberAbilitiesWithStrings(Collection<String> memberAbilities)

      The abilities granted to the collaboration member.

      Parameters:
      memberAbilities - The abilities granted to the collaboration member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberAbilitiesWithStrings

      Membership.Builder memberAbilitiesWithStrings(String... memberAbilities)

      The abilities granted to the collaboration member.

      Parameters:
      memberAbilities - The abilities granted to the collaboration member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberAbilities

      Membership.Builder memberAbilities(Collection<MemberAbility> memberAbilities)

      The abilities granted to the collaboration member.

      Parameters:
      memberAbilities - The abilities granted to the collaboration member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberAbilities

      Membership.Builder memberAbilities(MemberAbility... memberAbilities)

      The abilities granted to the collaboration member.

      Parameters:
      memberAbilities - The abilities granted to the collaboration member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryLogStatus

      Membership.Builder queryLogStatus(String queryLogStatus)

      An indicator as to whether query logging has been enabled or disabled for the collaboration.

      Parameters:
      queryLogStatus - An indicator as to whether query logging has been enabled or disabled for the collaboration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryLogStatus

      Membership.Builder queryLogStatus(MembershipQueryLogStatus queryLogStatus)

      An indicator as to whether query logging has been enabled or disabled for the collaboration.

      Parameters:
      queryLogStatus - An indicator as to whether query logging has been enabled or disabled for the collaboration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultResultConfiguration

      Membership.Builder defaultResultConfiguration(MembershipProtectedQueryResultConfiguration defaultResultConfiguration)

      The default protected query result configuration as specified by the member who can receive results.

      Parameters:
      defaultResultConfiguration - The default protected query result configuration as specified by the member who can receive results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultResultConfiguration

      default Membership.Builder defaultResultConfiguration(Consumer<MembershipProtectedQueryResultConfiguration.Builder> defaultResultConfiguration)

      The default protected query result configuration as specified by the member who can receive results.

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

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

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