Class CfnLocationFSxWindowsProps.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationFSxWindowsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxWindowsProps>
- Enclosing interface:
- CfnLocationFSxWindowsProps
@Stability(Stable)
public static final class CfnLocationFSxWindowsProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxWindowsProps>
A builder for
CfnLocationFSxWindowsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLocationFSxWindowsProps.getDomain()fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxWindowsProps.getFsxFilesystemArn()Sets the value ofCfnLocationFSxWindowsProps.getPassword()securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxWindowsProps.getSecurityGroupArns()subdirectory(String subdirectory) Sets the value ofCfnLocationFSxWindowsProps.getSubdirectory()Sets the value ofCfnLocationFSxWindowsProps.getTags()Sets the value ofCfnLocationFSxWindowsProps.getUser()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxWindowsProps.Builder securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxWindowsProps.getSecurityGroupArns()- 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. 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.
- Returns:
this
-
user
Sets the value ofCfnLocationFSxWindowsProps.getUser()- 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. For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .- Returns:
this
-
domain
Sets the value ofCfnLocationFSxWindowsProps.getDomain()- Parameters:
domain- Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.- Returns:
this
-
fsxFilesystemArn
@Stability(Stable) public CfnLocationFSxWindowsProps.Builder fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxWindowsProps.getFsxFilesystemArn()- Parameters:
fsxFilesystemArn- Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.- Returns:
this
-
password
Sets the value ofCfnLocationFSxWindowsProps.getPassword()- Parameters:
password- Specifies the password of the user who has the permissions to access files and folders in the file system.- Returns:
this
-
subdirectory
Sets the value ofCfnLocationFSxWindowsProps.getSubdirectory()- Parameters:
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).- Returns:
this
-
tags
Sets the value ofCfnLocationFSxWindowsProps.getTags()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxWindowsProps>- Returns:
- a new instance of
CfnLocationFSxWindowsProps - Throws:
NullPointerException- if any required attribute was not provided
-