public static final class CfnLocationFSxWindows.Builder
extends java.lang.Object
CfnLocationFSxWindows
.Modifier and Type | Method and Description |
---|---|
CfnLocationFSxWindows |
build() |
static CfnLocationFSxWindows.Builder |
create(Construct scope,
java.lang.String id) |
CfnLocationFSxWindows.Builder |
domain(java.lang.String domain)
Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.
|
CfnLocationFSxWindows.Builder |
fsxFilesystemArn(java.lang.String fsxFilesystemArn)
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
|
CfnLocationFSxWindows.Builder |
password(java.lang.String password)
Specifies the password of the user who has the permissions to access files and folders in the file system.
|
CfnLocationFSxWindows.Builder |
securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.
|
CfnLocationFSxWindows.Builder |
subdirectory(java.lang.String subdirectory)
Specifies a mount path for your file system using forward slashes.
|
CfnLocationFSxWindows.Builder |
tags(java.util.List<? extends CfnTag> tags)
Specifies labels that help you categorize, filter, and search for your AWS resources.
|
CfnLocationFSxWindows.Builder |
user(java.lang.String user)
The user who has the permissions to access files and folders in the FSx for Windows File Server file system.
|
public static CfnLocationFSxWindows.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnLocationFSxWindows.Builder
.public CfnLocationFSxWindows.Builder securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
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.
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.this
public CfnLocationFSxWindows.Builder user(java.lang.String user)
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .
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.this
public CfnLocationFSxWindows.Builder domain(java.lang.String domain)
domain
- Specifies the name of the Windows domain that the FSx for Windows File Server belongs to. This parameter is required.this
public CfnLocationFSxWindows.Builder fsxFilesystemArn(java.lang.String fsxFilesystemArn)
fsxFilesystemArn
- Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system. This parameter is required.this
public CfnLocationFSxWindows.Builder password(java.lang.String password)
password
- Specifies the password of the user who has the permissions to access files and folders in the file system. This parameter is required.this
public CfnLocationFSxWindows.Builder subdirectory(java.lang.String subdirectory)
This is where DataSync reads or writes data (depending on if this is a source or destination location).
subdirectory
- Specifies a mount path for your file system using forward slashes. This parameter is required.this
public CfnLocationFSxWindows.Builder tags(java.util.List<? extends CfnTag> tags)
We recommend creating at least a name tag for your location.
tags
- Specifies labels that help you categorize, filter, and search for your AWS resources. This parameter is required.this
public CfnLocationFSxWindows build()