Interface PrincipalPermissions.Builder

    • Method Detail

      • principal

        PrincipalPermissions.Builder principal​(DataLakePrincipal principal)

        The principal who is granted permissions.

        Parameters:
        principal - The principal who is granted permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithStrings

        PrincipalPermissions.Builder permissionsWithStrings​(Collection<String> permissions)

        The permissions that are granted to the principal.

        Parameters:
        permissions - The permissions that are granted to the principal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithStrings

        PrincipalPermissions.Builder permissionsWithStrings​(String... permissions)

        The permissions that are granted to the principal.

        Parameters:
        permissions - The permissions that are granted to the principal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissions

        PrincipalPermissions.Builder permissions​(Collection<Permission> permissions)

        The permissions that are granted to the principal.

        Parameters:
        permissions - The permissions that are granted to the principal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissions

        PrincipalPermissions.Builder permissions​(Permission... permissions)

        The permissions that are granted to the principal.

        Parameters:
        permissions - The permissions that are granted to the principal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.