Class CfnLocationFSxWindows.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationFSxWindows.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxWindows>
- Enclosing class:
- CfnLocationFSxWindows
@Stability(Stable)
public static final class CfnLocationFSxWindows.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxWindows>
A fluent builder for
CfnLocationFSxWindows
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.fsxFilesystemArn
(String fsxFilesystemArn) Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.Specifies the password of the user who has the permissions to access files and folders in the file system.securityGroupArns
(List<String> securityGroupArns) The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.subdirectory
(String subdirectory) Specifies a mount path for your file system using forward slashes.Specifies labels that help you categorize, filter, and search for your AWS resources.The user who has the permissions to access files and folders in the FSx for Windows File Server file system.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnLocationFSxWindows.Builder
.
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxWindows.Builder securityGroupArns(List<String> securityGroupArns) The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.Pattern :
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$
Length constraints : Maximum length of 128.
- Parameters:
securityGroupArns
- The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system. This parameter is required.- Returns:
this
-
user
The user who has the permissions to access files and folders in the FSx for Windows File Server file system.For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .
- Parameters:
user
- The user who has the permissions to access files and folders in the FSx for Windows File Server file system. This parameter is required.- Returns:
this
-
domain
Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.- Parameters:
domain
- Specifies the name of the Windows domain that the FSx for Windows File Server belongs to. This parameter is required.- Returns:
this
-
fsxFilesystemArn
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.- Parameters:
fsxFilesystemArn
- Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system. This parameter is required.- Returns:
this
-
password
Specifies the password of the user who has the permissions to access files and folders in the file system.- Parameters:
password
- Specifies the password of the user who has the permissions to access files and folders in the file system. This parameter is required.- Returns:
this
-
subdirectory
Specifies a mount path for your file system using forward slashes.This is where DataSync reads or writes data (depending on if this is a source or destination location).
- Parameters:
subdirectory
- Specifies a mount path for your file system using forward slashes. This parameter is required.- Returns:
this
-
tags
Specifies labels that help you categorize, filter, and search for your AWS resources.We recommend creating at least a name tag for your location.
- Parameters:
tags
- Specifies labels that help you categorize, filter, and search for your AWS resources. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocationFSxWindows>
- Returns:
- a newly built instance of
CfnLocationFSxWindows
.
-