@Generated(value="software.amazon.awssdk:codegen") public final class RowLevelPermissionDataSet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RowLevelPermissionDataSet.Builder,RowLevelPermissionDataSet>
Information about a dataset that contains permissions for row-level security (RLS). The permissions dataset maps fields to users or groups. For more information, see Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User Guide.
The option to deny permissions by setting PermissionPolicy to DENY_ACCESS is not supported
for new RLS datasets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RowLevelPermissionDataSet.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
|
static RowLevelPermissionDataSet.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
RowLevelPermissionFormatVersion |
formatVersion()
The user or group rules associated with the dataset that contains permissions for RLS.
|
String |
formatVersionAsString()
The user or group rules associated with the dataset that contains permissions for RLS.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
namespace()
The namespace associated with the dataset that contains permissions for RLS.
|
RowLevelPermissionPolicy |
permissionPolicy()
The type of permissions to use when interpreting the permissions for RLS.
|
String |
permissionPolicyAsString()
The type of permissions to use when interpreting the permissions for RLS.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RowLevelPermissionDataSet.Builder> |
serializableBuilderClass() |
Status |
status()
The status of the row-level security permission dataset.
|
String |
statusAsString()
The status of the row-level security permission dataset.
|
RowLevelPermissionDataSet.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String namespace()
The namespace associated with the dataset that contains permissions for RLS.
public final String arn()
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
public final RowLevelPermissionPolicy permissionPolicy()
The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included
for backward compatibility only.
If the service returns an enum value that is not available in the current SDK version, permissionPolicy
will return RowLevelPermissionPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from permissionPolicyAsString().
DENY_ACCESS is
included for backward compatibility only.RowLevelPermissionPolicypublic final String permissionPolicyAsString()
The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included
for backward compatibility only.
If the service returns an enum value that is not available in the current SDK version, permissionPolicy
will return RowLevelPermissionPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from permissionPolicyAsString().
DENY_ACCESS is
included for backward compatibility only.RowLevelPermissionPolicypublic final 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.
If the service returns an enum value that is not available in the current SDK version, formatVersion
will return RowLevelPermissionFormatVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from formatVersionAsString().
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.
RowLevelPermissionFormatVersionpublic final String formatVersionAsString()
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.
If the service returns an enum value that is not available in the current SDK version, formatVersion
will return RowLevelPermissionFormatVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from formatVersionAsString().
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.
RowLevelPermissionFormatVersionpublic final Status status()
The status of the row-level security permission dataset. If enabled, the status is ENABLED. If
disabled, the status is DISABLED.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ENABLED.
If disabled, the status is DISABLED.Statuspublic final String statusAsString()
The status of the row-level security permission dataset. If enabled, the status is ENABLED. If
disabled, the status is DISABLED.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ENABLED.
If disabled, the status is DISABLED.Statuspublic RowLevelPermissionDataSet.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RowLevelPermissionDataSet.Builder,RowLevelPermissionDataSet>public static RowLevelPermissionDataSet.Builder builder()
public static Class<? extends RowLevelPermissionDataSet.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.