Class CfnLocationFSxWindowsMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationFSxWindowsMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxWindowsMixinProps>
- Enclosing interface:
CfnLocationFSxWindowsMixinProps
@Stability(Stable)
public static final class CfnLocationFSxWindowsMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxWindowsMixinProps>
A builder for
CfnLocationFSxWindowsMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cmkSecretConfig(CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty cmkSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCmkSecretConfig()cmkSecretConfig(IResolvable cmkSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCmkSecretConfig()customSecretConfig(CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty customSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCustomSecretConfig()customSecretConfig(IResolvable customSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCustomSecretConfig()Sets the value ofCfnLocationFSxWindowsMixinProps.getDomain()fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxWindowsMixinProps.getFsxFilesystemArn()Sets the value ofCfnLocationFSxWindowsMixinProps.getPassword()securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxWindowsMixinProps.getSecurityGroupArns()subdirectory(String subdirectory) Sets the value ofCfnLocationFSxWindowsMixinProps.getSubdirectory()Sets the value ofCfnLocationFSxWindowsMixinProps.getTags()Sets the value ofCfnLocationFSxWindowsMixinProps.getUser()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cmkSecretConfig
@Stability(Stable) public CfnLocationFSxWindowsMixinProps.Builder cmkSecretConfig(IResolvable cmkSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCmkSecretConfig()- Parameters:
cmkSecretConfig- Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.- Returns:
this
-
cmkSecretConfig
@Stability(Stable) public CfnLocationFSxWindowsMixinProps.Builder cmkSecretConfig(CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty cmkSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCmkSecretConfig()- Parameters:
cmkSecretConfig- Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.- Returns:
this
-
customSecretConfig
@Stability(Stable) public CfnLocationFSxWindowsMixinProps.Builder customSecretConfig(IResolvable customSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCustomSecretConfig()- Parameters:
customSecretConfig- Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.- Returns:
this
-
customSecretConfig
@Stability(Stable) public CfnLocationFSxWindowsMixinProps.Builder customSecretConfig(CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty customSecretConfig) Sets the value ofCfnLocationFSxWindowsMixinProps.getCustomSecretConfig()- Parameters:
customSecretConfig- Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.- Returns:
this
-
domain
Sets the value ofCfnLocationFSxWindowsMixinProps.getDomain()- Parameters:
domain- Specifies the name of the Windows domain that the FSx for Windows File Server file system belongs to. If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.- Returns:
this
-
fsxFilesystemArn
@Stability(Stable) public CfnLocationFSxWindowsMixinProps.Builder fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxWindowsMixinProps.getFsxFilesystemArn()- Parameters:
fsxFilesystemArn- Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.- Returns:
this
-
password
Sets the value ofCfnLocationFSxWindowsMixinProps.getPassword()- Parameters:
password- Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.- Returns:
this
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxWindowsMixinProps.Builder securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxWindowsMixinProps.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. 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
-
subdirectory
Sets the value ofCfnLocationFSxWindowsMixinProps.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 ofCfnLocationFSxWindowsMixinProps.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
-
user
Sets the value ofCfnLocationFSxWindowsMixinProps.getUser()- Parameters:
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 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxWindowsMixinProps>- Returns:
- a new instance of
CfnLocationFSxWindowsMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-