Interface CreateFolderRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFolderRequest.Builder,CreateFolderRequest>,QuickSightRequest.Builder,SdkBuilder<CreateFolderRequest.Builder,CreateFolderRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFolderRequest
@Mutable @NotThreadSafe 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.BuilderawsAccountId(String awsAccountId)The ID for the Amazon Web Services account where you want to create the folder.CreateFolderRequest.BuilderfolderId(String folderId)The ID of the folder.CreateFolderRequest.BuilderfolderType(String folderType)The type of folder.CreateFolderRequest.BuilderfolderType(FolderType folderType)The type of folder.CreateFolderRequest.Buildername(String name)The name of the folder.CreateFolderRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFolderRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFolderRequest.BuilderparentFolderArn(String parentFolderArn)The Amazon Resource Name (ARN) for the parent folder.CreateFolderRequest.Builderpermissions(Collection<ResourcePermission> permissions)A structure that describes the principals and the resource-level permissions of a folder.CreateFolderRequest.Builderpermissions(Consumer<ResourcePermission.Builder>... permissions)A structure that describes the principals and the resource-level permissions of a folder.CreateFolderRequest.Builderpermissions(ResourcePermission... permissions)A structure that describes the principals and the resource-level permissions of a folder.CreateFolderRequest.BuildersharingModel(String sharingModel)An optional parameter that determines the sharing scope of the folder.CreateFolderRequest.BuildersharingModel(SharingModel sharingModel)An optional parameter that determines the sharing scope of the folder.CreateFolderRequest.Buildertags(Collection<Tag> tags)Tags for the folder.CreateFolderRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags for the folder.CreateFolderRequest.Buildertags(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, sdkFieldNameToField, 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,
folderTypeisSHARED.- Parameters:
folderType- The type of folder. By default,folderTypeisSHARED.- 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,
folderTypeisSHARED.- Parameters:
folderType- The type of folder. By default,folderTypeisSHARED.- 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.
ParentFolderArncan be null. An emptyparentFolderArncreates a root-level folder.- Parameters:
parentFolderArn- The Amazon Resource Name (ARN) for the parent folder.ParentFolderArncan be null. An emptyparentFolderArncreates 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.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFolderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-