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