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
-
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
- The Amazon Resource Name (ARN) for the FSx for Lustre file system.- Returns:
this
-
subdirectory
Sets the value ofCfnLocationFSxLustreProps.getSubdirectory()
- Parameters:
subdirectory
- A subdirectory in the location's path. This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.- Returns:
this
-
tags
Sets the value ofCfnLocationFSxLustreProps.getTags()
- Parameters:
tags
- The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocationFSxLustreProps>
- Returns:
- a new instance of
CfnLocationFSxLustreProps
- Throws:
NullPointerException
- if any required attribute was not provided
-