Interface RowLevelPermissionDataSet.Builder

  • Method Details

    • namespace

      The namespace associated with the dataset that contains permissions for RLS.

      Parameters:
      namespace - The namespace associated with the dataset that contains permissions for RLS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • permissionPolicy

      RowLevelPermissionDataSet.Builder permissionPolicy(String permissionPolicy)

      The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.

      Parameters:
      permissionPolicy - The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • permissionPolicy

      RowLevelPermissionDataSet.Builder permissionPolicy(RowLevelPermissionPolicy permissionPolicy)

      The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.

      Parameters:
      permissionPolicy - The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • formatVersion

      RowLevelPermissionDataSet.Builder formatVersion(String formatVersion)

      The user or group rules associated with the dataset that contains permissions for RLS.

      By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.

      Parameters:
      formatVersion - The user or group rules associated with the dataset that contains permissions for RLS.

      By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • formatVersion

      The user or group rules associated with the dataset that contains permissions for RLS.

      By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.

      Parameters:
      formatVersion - The user or group rules associated with the dataset that contains permissions for RLS.

      By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1, UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN and GroupARN are required, and Namespace must not exist.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the row-level security permission dataset. If enabled, the status is ENABLED. If disabled, the status is DISABLED.

      Parameters:
      status - The status of the row-level security permission dataset. If enabled, the status is ENABLED. If disabled, the status is DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the row-level security permission dataset. If enabled, the status is ENABLED. If disabled, the status is DISABLED.

      Parameters:
      status - The status of the row-level security permission dataset. If enabled, the status is ENABLED. If disabled, the status is DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: