Class CfnSpacePropsMixin.ResourcePermissionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnSpacePropsMixin.ResourcePermissionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpacePropsMixin.ResourcePermissionProperty>
- Enclosing interface:
CfnSpacePropsMixin.ResourcePermissionProperty
@Stability(Stable)
public static final class CfnSpacePropsMixin.ResourcePermissionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpacePropsMixin.ResourcePermissionProperty>
A builder for
CfnSpacePropsMixin.ResourcePermissionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSpacePropsMixin.ResourcePermissionProperty.getActions()build()Builds the configured instance.Sets the value ofCfnSpacePropsMixin.ResourcePermissionProperty.getPrincipal()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnSpacePropsMixin.ResourcePermissionProperty.Builder actions(List<String> actions) Sets the value ofCfnSpacePropsMixin.ResourcePermissionProperty.getActions()- Parameters:
actions- The list of actions granted to the principal.- Returns:
this
-
principal
@Stability(Stable) public CfnSpacePropsMixin.ResourcePermissionProperty.Builder principal(String principal) Sets the value ofCfnSpacePropsMixin.ResourcePermissionProperty.getPrincipal()- Parameters:
principal- The ARN of the principal (user or group) receiving the permission.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpacePropsMixin.ResourcePermissionProperty>- Returns:
- a new instance of
CfnSpacePropsMixin.ResourcePermissionProperty - Throws:
NullPointerException- if any required attribute was not provided
-