Interface CreateFolderRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFolderRequest.Builder,CreateFolderRequest>
,QuickSightRequest.Builder
,SdkBuilder<CreateFolderRequest.Builder,CreateFolderRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateFolderRequest
public static interface CreateFolderRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateFolderRequest.Builder,CreateFolderRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateFolderRequest.Builder
awsAccountId(String awsAccountId)
The ID for the Amazon Web Services account where you want to create the folder.CreateFolderRequest.Builder
folderId(String folderId)
The ID of the folder.CreateFolderRequest.Builder
folderType(String folderType)
The type of folder.CreateFolderRequest.Builder
folderType(FolderType folderType)
The type of folder.CreateFolderRequest.Builder
name(String name)
The name of the folder.CreateFolderRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateFolderRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateFolderRequest.Builder
parentFolderArn(String parentFolderArn)
The Amazon Resource Name (ARN) for the parent folder.CreateFolderRequest.Builder
permissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions of a folder.CreateFolderRequest.Builder
permissions(Consumer<ResourcePermission.Builder>... permissions)
A structure that describes the principals and the resource-level permissions of a folder.CreateFolderRequest.Builder
permissions(ResourcePermission... permissions)
A structure that describes the principals and the resource-level permissions of a folder.CreateFolderRequest.Builder
sharingModel(String sharingModel)
An optional parameter that determines the sharing scope of the folder.CreateFolderRequest.Builder
sharingModel(SharingModel sharingModel)
An optional parameter that determines the sharing scope of the folder.CreateFolderRequest.Builder
tags(Collection<Tag> tags)
Tags for the folder.CreateFolderRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Tags for the folder.CreateFolderRequest.Builder
tags(Tag... tags)
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 Detail
-
awsAccountId
CreateFolderRequest.Builder awsAccountId(String 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
CreateFolderRequest.Builder folderId(String 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
CreateFolderRequest.Builder name(String 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
CreateFolderRequest.Builder folderType(String 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
,FolderType
-
folderType
CreateFolderRequest.Builder folderType(FolderType 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
,FolderType
-
parentFolderArn
CreateFolderRequest.Builder parentFolderArn(String 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
CreateFolderRequest.Builder permissions(Collection<ResourcePermission> 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
CreateFolderRequest.Builder permissions(ResourcePermission... 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
CreateFolderRequest.Builder permissions(Consumer<ResourcePermission.Builder>... 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 to#permissions(List
.) - 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:
#permissions(java.util.Collection
)
-
tags
CreateFolderRequest.Builder tags(Collection<Tag> 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
CreateFolderRequest.Builder tags(Tag... 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
CreateFolderRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
sharingModel
CreateFolderRequest.Builder sharingModel(String 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
,SharingModel
-
sharingModel
CreateFolderRequest.Builder sharingModel(SharingModel 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
,SharingModel
-
overrideConfiguration
CreateFolderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFolderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-