Class CfnFolderProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnFolderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFolderProps>
- Enclosing interface:
CfnFolderProps
@Stability(Stable)
public static final class CfnFolderProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFolderProps>
A builder for
CfnFolderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) Sets the value ofCfnFolderProps.getAwsAccountId()
build()
Builds the configured instance.Sets the value ofCfnFolderProps.getFolderId()
folderType
(String folderType) Sets the value ofCfnFolderProps.getFolderType()
Sets the value ofCfnFolderProps.getName()
parentFolderArn
(String parentFolderArn) Sets the value ofCfnFolderProps.getParentFolderArn()
permissions
(List<? extends Object> permissions) Sets the value ofCfnFolderProps.getPermissions()
permissions
(IResolvable permissions) Sets the value ofCfnFolderProps.getPermissions()
sharingModel
(String sharingModel) Sets the value ofCfnFolderProps.getSharingModel()
Sets the value ofCfnFolderProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnFolderProps.getAwsAccountId()
- Parameters:
awsAccountId
- The ID for the AWS account where you want to create the folder.- Returns:
this
-
folderId
Sets the value ofCfnFolderProps.getFolderId()
- Parameters:
folderId
- The ID of the folder.- Returns:
this
-
folderType
Sets the value ofCfnFolderProps.getFolderType()
- Parameters:
folderType
- The type of folder it is.- Returns:
this
-
name
Sets the value ofCfnFolderProps.getName()
- Parameters:
name
- A display name for the folder.- Returns:
this
-
parentFolderArn
Sets the value ofCfnFolderProps.getParentFolderArn()
- Parameters:
parentFolderArn
- The Amazon Resource Name (ARN) for the folder.- Returns:
this
-
permissions
Sets the value ofCfnFolderProps.getPermissions()
- Parameters:
permissions
- A structure that describes the principals and the resource-level permissions of a folder. To specify no permissions, omitPermissions
.- Returns:
this
-
permissions
Sets the value ofCfnFolderProps.getPermissions()
- Parameters:
permissions
- A structure that describes the principals and the resource-level permissions of a folder. To specify no permissions, omitPermissions
.- Returns:
this
-
sharingModel
Sets the value ofCfnFolderProps.getSharingModel()
- Parameters:
sharingModel
- The sharing scope of the folder.- Returns:
this
-
tags
Sets the value ofCfnFolderProps.getTags()
- Parameters:
tags
- A list of tags for the folders that you want to apply overrides to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFolderProps>
- Returns:
- a new instance of
CfnFolderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-