Interface RowLevelPermissionDataSet.Builder

    • Method Detail

      • namespace

        RowLevelPermissionDataSet.Builder namespace​(String 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

        RowLevelPermissionDataSet.Builder arn​(String 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:
        RowLevelPermissionPolicy, RowLevelPermissionPolicy
      • 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:
        RowLevelPermissionPolicy, RowLevelPermissionPolicy
      • 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:
        RowLevelPermissionFormatVersion, RowLevelPermissionFormatVersion
      • formatVersion

        RowLevelPermissionDataSet.Builder formatVersion​(RowLevelPermissionFormatVersion 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:
        RowLevelPermissionFormatVersion, RowLevelPermissionFormatVersion
      • status

        RowLevelPermissionDataSet.Builder status​(String 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, Status
      • status

        RowLevelPermissionDataSet.Builder status​(Status 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, Status