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