public static final class CfnDataSet.RowLevelPermissionDataSetProperty.Builder
extends java.lang.Object
CfnDataSet.RowLevelPermissionDataSetProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataSet.RowLevelPermissionDataSetProperty.Builder |
arn(java.lang.String arn)
Sets the value of
CfnDataSet.RowLevelPermissionDataSetProperty.getArn() |
CfnDataSet.RowLevelPermissionDataSetProperty |
build()
Builds the configured instance.
|
CfnDataSet.RowLevelPermissionDataSetProperty.Builder |
formatVersion(java.lang.String formatVersion)
Sets the value of
CfnDataSet.RowLevelPermissionDataSetProperty.getFormatVersion() |
CfnDataSet.RowLevelPermissionDataSetProperty.Builder |
namespace(java.lang.String namespace)
Sets the value of
CfnDataSet.RowLevelPermissionDataSetProperty.getNamespace() |
CfnDataSet.RowLevelPermissionDataSetProperty.Builder |
permissionPolicy(java.lang.String permissionPolicy)
Sets the value of
CfnDataSet.RowLevelPermissionDataSetProperty.getPermissionPolicy() |
public CfnDataSet.RowLevelPermissionDataSetProperty.Builder arn(java.lang.String arn)
CfnDataSet.RowLevelPermissionDataSetProperty.getArn()
arn
- The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS. This parameter is required.this
public CfnDataSet.RowLevelPermissionDataSetProperty.Builder permissionPolicy(java.lang.String permissionPolicy)
CfnDataSet.RowLevelPermissionDataSetProperty.getPermissionPolicy()
permissionPolicy
- The type of permissions to use when interpreting the permissions for RLS. This parameter is required.
DENY_ACCESS
is included for backward compatibility only.this
public CfnDataSet.RowLevelPermissionDataSetProperty.Builder formatVersion(java.lang.String formatVersion)
CfnDataSet.RowLevelPermissionDataSetProperty.getFormatVersion()
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.this
public CfnDataSet.RowLevelPermissionDataSetProperty.Builder namespace(java.lang.String namespace)
CfnDataSet.RowLevelPermissionDataSetProperty.getNamespace()
namespace
- The namespace associated with the dataset that contains permissions for RLS.this
public CfnDataSet.RowLevelPermissionDataSetProperty build()
CfnDataSet.RowLevelPermissionDataSetProperty
java.lang.NullPointerException
- if any required attribute was not provided