Class CustomPermissionsReference.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CustomPermissionsReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomPermissionsReference>
- Enclosing interface:
CustomPermissionsReference
@Stability(Stable)
public static final class CustomPermissionsReference.Builder
extends Object
implements software.amazon.jsii.Builder<CustomPermissionsReference>
A builder for
CustomPermissionsReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) Sets the value ofCustomPermissionsReference.getAwsAccountId()
build()
Builds the configured instance.customPermissionsArn
(String customPermissionsArn) Sets the value ofCustomPermissionsReference.getCustomPermissionsArn()
customPermissionsName
(String customPermissionsName) Sets the value ofCustomPermissionsReference.getCustomPermissionsName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCustomPermissionsReference.getAwsAccountId()
- Parameters:
awsAccountId
- The AwsAccountId of the CustomPermissions resource. This parameter is required.- Returns:
this
-
customPermissionsArn
@Stability(Stable) public CustomPermissionsReference.Builder customPermissionsArn(String customPermissionsArn) Sets the value ofCustomPermissionsReference.getCustomPermissionsArn()
- Parameters:
customPermissionsArn
- The ARN of the CustomPermissions resource. This parameter is required.- Returns:
this
-
customPermissionsName
@Stability(Stable) public CustomPermissionsReference.Builder customPermissionsName(String customPermissionsName) Sets the value ofCustomPermissionsReference.getCustomPermissionsName()
- Parameters:
customPermissionsName
- The CustomPermissionsName of the CustomPermissions resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CustomPermissionsReference>
- Returns:
- a new instance of
CustomPermissionsReference
- Throws:
NullPointerException
- if any required attribute was not provided
-