Interface BatchPermissionsRequestEntry.Builder

    • Method Detail

      • id

        BatchPermissionsRequestEntry.Builder id​(String id)

        A unique identifier for the batch permissions request entry.

        Parameters:
        id - A unique identifier for the batch permissions request entry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principal

        BatchPermissionsRequestEntry.Builder principal​(DataLakePrincipal principal)

        The principal to be granted a permission.

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

        BatchPermissionsRequestEntry.Builder resource​(Resource resource)

        The resource to which the principal is to be granted a permission.

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

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

        The permissions to be granted.

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

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

        The permissions to be granted.

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

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

        The permissions to be granted.

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

        BatchPermissionsRequestEntry.Builder permissions​(Permission... permissions)

        The permissions to be granted.

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

        BatchPermissionsRequestEntry.Builder permissionsWithGrantOptionWithStrings​(Collection<String> permissionsWithGrantOption)

        Indicates if the option to pass permissions is granted.

        Parameters:
        permissionsWithGrantOption - Indicates if the option to pass permissions is granted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithGrantOptionWithStrings

        BatchPermissionsRequestEntry.Builder permissionsWithGrantOptionWithStrings​(String... permissionsWithGrantOption)

        Indicates if the option to pass permissions is granted.

        Parameters:
        permissionsWithGrantOption - Indicates if the option to pass permissions is granted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithGrantOption

        BatchPermissionsRequestEntry.Builder permissionsWithGrantOption​(Collection<Permission> permissionsWithGrantOption)

        Indicates if the option to pass permissions is granted.

        Parameters:
        permissionsWithGrantOption - Indicates if the option to pass permissions is granted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithGrantOption

        BatchPermissionsRequestEntry.Builder permissionsWithGrantOption​(Permission... permissionsWithGrantOption)

        Indicates if the option to pass permissions is granted.

        Parameters:
        permissionsWithGrantOption - Indicates if the option to pass permissions is granted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.