Interface BatchPermissionsRequestEntry.Builder

  • Method Details

    • 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

      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.
    • principal

      The principal to be granted a permission.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to principal(DataLakePrincipal).

      Parameters:
      principal - a consumer that will call methods on DataLakePrincipal.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • resource

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resource(Resource).

      Parameters:
      resource - a consumer that will call methods on Resource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • condition

      Sets the value of the Condition property for this object.
      Parameters:
      condition - The new value for the Condition property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • condition

      Sets the value of the Condition property for this object. This is a convenience method that creates an instance of the Condition.Builder avoiding the need to create one manually via Condition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to condition(Condition).

      Parameters:
      condition - a consumer that will call methods on Condition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.