Class CfnDataSet.ColumnLevelPermissionRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.ColumnLevelPermissionRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.ColumnLevelPermissionRuleProperty>
- Enclosing interface:
CfnDataSet.ColumnLevelPermissionRuleProperty
@Stability(Stable)
public static final class CfnDataSet.ColumnLevelPermissionRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.ColumnLevelPermissionRuleProperty>
A builder for
CfnDataSet.ColumnLevelPermissionRuleProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columnNames
(List<String> columnNames) Sets the value ofCfnDataSet.ColumnLevelPermissionRuleProperty.getColumnNames()
principals
(List<String> principals) Sets the value ofCfnDataSet.ColumnLevelPermissionRuleProperty.getPrincipals()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnNames
@Stability(Stable) public CfnDataSet.ColumnLevelPermissionRuleProperty.Builder columnNames(List<String> columnNames) Sets the value ofCfnDataSet.ColumnLevelPermissionRuleProperty.getColumnNames()
- Parameters:
columnNames
- An array of column names.- Returns:
this
-
principals
@Stability(Stable) public CfnDataSet.ColumnLevelPermissionRuleProperty.Builder principals(List<String> principals) Sets the value ofCfnDataSet.ColumnLevelPermissionRuleProperty.getPrincipals()
- Parameters:
principals
- An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSet.ColumnLevelPermissionRuleProperty>
- Returns:
- a new instance of
CfnDataSet.ColumnLevelPermissionRuleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-