Class RowLevelPermissionDataSet
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.RowLevelPermissionDataSet
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RowLevelPermissionDataSet.Builder,RowLevelPermissionDataSet>
@Generated("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
PermissionPolicytoDENY_ACCESSis not supported for new RLS datasets.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRowLevelPermissionDataSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.static RowLevelPermissionDataSet.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)RowLevelPermissionFormatVersionformatVersion()The user or group rules associated with the dataset that contains permissions for RLS.StringformatVersionAsString()The user or group rules associated with the dataset that contains permissions for RLS.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringnamespace()The namespace associated with the dataset that contains permissions for RLS.RowLevelPermissionPolicypermissionPolicy()The type of permissions to use when interpreting the permissions for RLS.StringpermissionPolicyAsString()The type of permissions to use when interpreting the permissions for RLS.List<SdkField<?>>sdkFields()static Class<? extends RowLevelPermissionDataSet.Builder>serializableBuilderClass()Statusstatus()The status of the row-level security permission dataset.StringstatusAsString()The status of the row-level security permission dataset.RowLevelPermissionDataSet.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
namespace
public final String namespace()
The namespace associated with the dataset that contains permissions for RLS.
- Returns:
- The namespace associated with the dataset that contains permissions for RLS.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
- Returns:
- The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
-
permissionPolicy
public final RowLevelPermissionPolicy permissionPolicy()
The type of permissions to use when interpreting the permissions for RLS.
DENY_ACCESSis included for backward compatibility only.If the service returns an enum value that is not available in the current SDK version,
permissionPolicywill returnRowLevelPermissionPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionPolicyAsString().- Returns:
- The type of permissions to use when interpreting the permissions for RLS.
DENY_ACCESSis included for backward compatibility only. - See Also:
RowLevelPermissionPolicy
-
permissionPolicyAsString
public final String permissionPolicyAsString()
The type of permissions to use when interpreting the permissions for RLS.
DENY_ACCESSis included for backward compatibility only.If the service returns an enum value that is not available in the current SDK version,
permissionPolicywill returnRowLevelPermissionPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionPolicyAsString().- Returns:
- The type of permissions to use when interpreting the permissions for RLS.
DENY_ACCESSis included for backward compatibility only. - See Also:
RowLevelPermissionPolicy
-
formatVersion
public final RowLevelPermissionFormatVersion formatVersion()
The user or group rules associated with the dataset that contains permissions for RLS.
By default,
FormatVersionisVERSION_1. WhenFormatVersionisVERSION_1,UserNameandGroupNameare required. WhenFormatVersionisVERSION_2,UserARNandGroupARNare required, andNamespacemust not exist.If the service returns an enum value that is not available in the current SDK version,
formatVersionwill returnRowLevelPermissionFormatVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatVersionAsString().- Returns:
- The user or group rules associated with the dataset that contains permissions for RLS.
By default,
FormatVersionisVERSION_1. WhenFormatVersionisVERSION_1,UserNameandGroupNameare required. WhenFormatVersionisVERSION_2,UserARNandGroupARNare required, andNamespacemust not exist. - See Also:
RowLevelPermissionFormatVersion
-
formatVersionAsString
public final String formatVersionAsString()
The user or group rules associated with the dataset that contains permissions for RLS.
By default,
FormatVersionisVERSION_1. WhenFormatVersionisVERSION_1,UserNameandGroupNameare required. WhenFormatVersionisVERSION_2,UserARNandGroupARNare required, andNamespacemust not exist.If the service returns an enum value that is not available in the current SDK version,
formatVersionwill returnRowLevelPermissionFormatVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatVersionAsString().- Returns:
- The user or group rules associated with the dataset that contains permissions for RLS.
By default,
FormatVersionisVERSION_1. WhenFormatVersionisVERSION_1,UserNameandGroupNameare required. WhenFormatVersionisVERSION_2,UserARNandGroupARNare required, andNamespacemust not exist. - See Also:
RowLevelPermissionFormatVersion
-
status
public final Status status()
The status of the row-level security permission dataset. If enabled, the status is
ENABLED. If disabled, the status isDISABLED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the row-level security permission dataset. If enabled, the status is
ENABLED. If disabled, the status isDISABLED. - See Also:
Status
-
statusAsString
public final String statusAsString()
The status of the row-level security permission dataset. If enabled, the status is
ENABLED. If disabled, the status isDISABLED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the row-level security permission dataset. If enabled, the status is
ENABLED. If disabled, the status isDISABLED. - See Also:
Status
-
toBuilder
public RowLevelPermissionDataSet.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RowLevelPermissionDataSet.Builder,RowLevelPermissionDataSet>
-
builder
public static RowLevelPermissionDataSet.Builder builder()
-
serializableBuilderClass
public static Class<? extends RowLevelPermissionDataSet.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-