Interface CreateFolderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFolderRequest.Builder,
,CreateFolderRequest> QuickSightRequest.Builder
,SdkBuilder<CreateFolderRequest.Builder,
,CreateFolderRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFolderRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The ID for the Amazon Web Services account where you want to create the folder.The ID of the folder.folderType
(String folderType) The type of folder.folderType
(FolderType folderType) The type of folder.The name of the folder.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentFolderArn
(String parentFolderArn) The Amazon Resource Name (ARN) for the parent folder.permissions
(Collection<ResourcePermission> permissions) A structure that describes the principals and the resource-level permissions of a folder.permissions
(Consumer<ResourcePermission.Builder>... permissions) A structure that describes the principals and the resource-level permissions of a folder.permissions
(ResourcePermission... permissions) A structure that describes the principals and the resource-level permissions of a folder.sharingModel
(String sharingModel) An optional parameter that determines the sharing scope of the folder.sharingModel
(SharingModel sharingModel) An optional parameter that determines the sharing scope of the folder.tags
(Collection<Tag> tags) Tags for the folder.tags
(Consumer<Tag.Builder>... tags) Tags for the folder.Tags for the folder.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsAccountId
The ID for the Amazon Web Services account where you want to create the folder.
- Parameters:
awsAccountId
- The ID for the Amazon Web Services account where you want to create the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderId
The ID of the folder.
- Parameters:
folderId
- The ID of the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the folder.
- Parameters:
name
- The name of the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderType
The type of folder. By default,
folderType
isSHARED
.- Parameters:
folderType
- The type of folder. By default,folderType
isSHARED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
folderType
The type of folder. By default,
folderType
isSHARED
.- Parameters:
folderType
- The type of folder. By default,folderType
isSHARED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parentFolderArn
The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn
can be null. An emptyparentFolderArn
creates a root-level folder.- Parameters:
parentFolderArn
- The Amazon Resource Name (ARN) for the parent folder.ParentFolderArn
can be null. An emptyparentFolderArn
creates a root-level folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit
Permissions
.- Parameters:
permissions
- A structure that describes the principals and the resource-level permissions of a folder.To specify no permissions, omit
Permissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit
Permissions
.- Parameters:
permissions
- A structure that describes the principals and the resource-level permissions of a folder.To specify no permissions, omit
Permissions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit
This is a convenience method that creates an instance of thePermissions
.ResourcePermission.Builder
avoiding the need to create one manually viaResourcePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<ResourcePermission>)
.- Parameters:
permissions
- a consumer that will call methods onResourcePermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags for the folder.
- Parameters:
tags
- Tags for the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the folder.
- Parameters:
tags
- Tags for the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the folder.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sharingModel
An optional parameter that determines the sharing scope of the folder. The default value for this parameter is
ACCOUNT
.- Parameters:
sharingModel
- An optional parameter that determines the sharing scope of the folder. The default value for this parameter isACCOUNT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sharingModel
An optional parameter that determines the sharing scope of the folder. The default value for this parameter is
ACCOUNT
.- Parameters:
sharingModel
- An optional parameter that determines the sharing scope of the folder. The default value for this parameter isACCOUNT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFolderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFolderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-