Class CfnCustomPermissionsProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnCustomPermissionsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomPermissionsProps>
- Enclosing interface:
CfnCustomPermissionsProps
@Stability(Stable)
public static final class CfnCustomPermissionsProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomPermissionsProps>
A builder for
CfnCustomPermissionsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofCfnCustomPermissionsProps.getAwsAccountId()build()Builds the configured instance.capabilities(IResolvable capabilities) Sets the value ofCfnCustomPermissionsProps.getCapabilities()capabilities(CfnCustomPermissions.CapabilitiesProperty capabilities) Sets the value ofCfnCustomPermissionsProps.getCapabilities()customPermissionsName(String customPermissionsName) Sets the value ofCfnCustomPermissionsProps.getCustomPermissionsName()Sets the value ofCfnCustomPermissionsProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnCustomPermissionsProps.getAwsAccountId()- Parameters:
awsAccountId- The ID of the AWS account that contains the custom permission configuration that you want to update. This parameter is required.- Returns:
this
-
customPermissionsName
@Stability(Stable) public CfnCustomPermissionsProps.Builder customPermissionsName(String customPermissionsName) Sets the value ofCfnCustomPermissionsProps.getCustomPermissionsName()- Parameters:
customPermissionsName- The name of the custom permissions profile. This parameter is required.- Returns:
this
-
capabilities
Sets the value ofCfnCustomPermissionsProps.getCapabilities()- Parameters:
capabilities- A set of actions in the custom permissions profile.- Returns:
this
-
capabilities
@Stability(Stable) public CfnCustomPermissionsProps.Builder capabilities(CfnCustomPermissions.CapabilitiesProperty capabilities) Sets the value ofCfnCustomPermissionsProps.getCapabilities()- Parameters:
capabilities- A set of actions in the custom permissions profile.- Returns:
this
-
tags
Sets the value ofCfnCustomPermissionsProps.getTags()- Parameters:
tags- The tags to associate with the custom permissions profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomPermissionsProps>- Returns:
- a new instance of
CfnCustomPermissionsProps - Throws:
NullPointerException- if any required attribute was not provided
-