public static final class CfnLocationFSxLustreProps.Builder
extends java.lang.Object
CfnLocationFSxLustreProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLocationFSxLustreProps |
build()
Builds the configured instance.
|
CfnLocationFSxLustreProps.Builder |
fsxFilesystemArn(java.lang.String fsxFilesystemArn)
Sets the value of
CfnLocationFSxLustreProps.getFsxFilesystemArn() |
CfnLocationFSxLustreProps.Builder |
securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
Sets the value of
CfnLocationFSxLustreProps.getSecurityGroupArns() |
CfnLocationFSxLustreProps.Builder |
subdirectory(java.lang.String subdirectory)
Sets the value of
CfnLocationFSxLustreProps.getSubdirectory() |
CfnLocationFSxLustreProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnLocationFSxLustreProps.getTags() |
public CfnLocationFSxLustreProps.Builder securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
CfnLocationFSxLustreProps.getSecurityGroupArns()
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.
this
public CfnLocationFSxLustreProps.Builder fsxFilesystemArn(java.lang.String fsxFilesystemArn)
CfnLocationFSxLustreProps.getFsxFilesystemArn()
fsxFilesystemArn
- The Amazon Resource Name (ARN) for the FSx for Lustre file system.this
public CfnLocationFSxLustreProps.Builder subdirectory(java.lang.String subdirectory)
CfnLocationFSxLustreProps.getSubdirectory()
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.this
public CfnLocationFSxLustreProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnLocationFSxLustreProps.getTags()
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.this
public CfnLocationFSxLustreProps build()
CfnLocationFSxLustreProps
java.lang.NullPointerException
- if any required attribute was not provided