Interface DocumentAclCondition.Builder

  • Method Details

    • memberRelation

      DocumentAclCondition.Builder memberRelation(String memberRelation)

      The logical relation between members in the condition, determining how multiple user or group conditions are combined.

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

      DocumentAclCondition.Builder memberRelation(MemberRelation memberRelation)

      The logical relation between members in the condition, determining how multiple user or group conditions are combined.

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

      An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.

      Parameters:
      users - An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.

      Parameters:
      users - An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.

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

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

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

      An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.

      Parameters:
      groups - An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.

      Parameters:
      groups - An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.

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

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

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