Interface Principal.Builder

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

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

    • name

      The name of the user or group.

      Parameters:
      name - The name of the user or group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of principal.

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

      The type of principal.

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

      Principal.Builder access(String access)

      Whether to allow or deny document access to the principal.

      Parameters:
      access - Whether to allow or deny document access to the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • access

      Whether to allow or deny document access to the principal.

      Parameters:
      access - Whether to allow or deny document access to the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataSourceId

      Principal.Builder dataSourceId(String dataSourceId)

      The identifier of the data source the principal should access documents from.

      Parameters:
      dataSourceId - The identifier of the data source the principal should access documents from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.