Class CfnLocationFSxLustreProps.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationFSxLustreProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxLustreProps>
- Enclosing interface:
CfnLocationFSxLustreProps
@Stability(Stable)
public static final class CfnLocationFSxLustreProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxLustreProps>
A builder for
CfnLocationFSxLustreProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxLustreProps.getFsxFilesystemArn()securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxLustreProps.getSecurityGroupArns()subdirectory(String subdirectory) Sets the value ofCfnLocationFSxLustreProps.getSubdirectory()Sets the value ofCfnLocationFSxLustreProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxLustreProps.Builder securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxLustreProps.getSecurityGroupArns()- Parameters:
securityGroupArns- The ARNs of the security groups that are used to configure the FSx for Lustre 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
-
fsxFilesystemArn
@Stability(Stable) public CfnLocationFSxLustreProps.Builder fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxLustreProps.getFsxFilesystemArn()- Parameters:
fsxFilesystemArn- Specifies the Amazon Resource Name (ARN) of the FSx for Lustre file system.- Returns:
this
-
subdirectory
Sets the value ofCfnLocationFSxLustreProps.getSubdirectory()- Parameters:
subdirectory- Specifies a mount path for your FSx for Lustre file system. The path can include subdirectories. When the location is used as a source, DataSync reads data from the mount path. When the location is used as a destination, DataSync writes data to the mount path. If you don't include this parameter, DataSync uses the file system's root directory (/).- Returns:
this
-
tags
Sets the value ofCfnLocationFSxLustreProps.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<CfnLocationFSxLustreProps>- Returns:
- a new instance of
CfnLocationFSxLustreProps - Throws:
NullPointerException- if any required attribute was not provided
-