Interface DocumentAclMembership.Builder

  • Method Details

    • memberRelation

      DocumentAclMembership.Builder memberRelation(String memberRelation)

      The logical relation between members in the membership rule, determining how multiple conditions are combined.

      Parameters:
      memberRelation - The logical relation between members in the membership rule, determining how multiple conditions are combined.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • memberRelation

      DocumentAclMembership.Builder memberRelation(MemberRelation memberRelation)

      The logical relation between members in the membership rule, determining how multiple conditions are combined.

      Parameters:
      memberRelation - The logical relation between members in the membership rule, determining how multiple conditions are combined.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conditions

      An array of conditions that define the membership rules. Each condition specifies criteria for users or groups to be included in this membership.

      Parameters:
      conditions - An array of conditions that define the membership rules. Each condition specifies criteria for users or groups to be included in this membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      An array of conditions that define the membership rules. Each condition specifies criteria for users or groups to be included in this membership.

      Parameters:
      conditions - An array of conditions that define the membership rules. Each condition specifies criteria for users or groups to be included in this membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      An array of conditions that define the membership rules. Each condition specifies criteria for users or groups to be included in this membership.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conditions(List<DocumentAclCondition>).

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