pub struct Builder { /* private fields */ }Expand description
A builder for RowLevelPermissionDataSet.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The namespace associated with the dataset that contains permissions for RLS.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespace associated with the dataset that contains permissions for RLS.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
sourcepub fn permission_policy(self, input: RowLevelPermissionPolicy) -> Self
pub fn permission_policy(self, input: RowLevelPermissionPolicy) -> Self
The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.
sourcepub fn set_permission_policy(
self,
input: Option<RowLevelPermissionPolicy>
) -> Self
pub fn set_permission_policy(
self,
input: Option<RowLevelPermissionPolicy>
) -> Self
The type of permissions to use when interpreting the permissions for RLS. DENY_ACCESS is included for backward compatibility only.
sourcepub fn format_version(self, input: RowLevelPermissionFormatVersion) -> Self
pub fn format_version(self, input: RowLevelPermissionFormatVersion) -> Self
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.
sourcepub fn set_format_version(
self,
input: Option<RowLevelPermissionFormatVersion>
) -> Self
pub fn set_format_version(
self,
input: Option<RowLevelPermissionFormatVersion>
) -> Self
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.
sourcepub fn status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
The status of the row-level security permission dataset. If enabled, the status is ENABLED. If disabled, the status is DISABLED.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The status of the row-level security permission dataset. If enabled, the status is ENABLED. If disabled, the status is DISABLED.
sourcepub fn build(self) -> RowLevelPermissionDataSet
pub fn build(self) -> RowLevelPermissionDataSet
Consumes the builder and constructs a RowLevelPermissionDataSet.