public static final class CfnLocationFSxOpenZFSProps.Builder
extends java.lang.Object
CfnLocationFSxOpenZFSProps
Constructor and Description |
---|
Builder() |
public CfnLocationFSxOpenZFSProps.Builder protocol(IResolvable protocol)
CfnLocationFSxOpenZFSProps.getProtocol()
protocol
- The type of protocol that AWS DataSync uses to access your file system. This parameter is required.this
public CfnLocationFSxOpenZFSProps.Builder protocol(CfnLocationFSxOpenZFS.ProtocolProperty protocol)
CfnLocationFSxOpenZFSProps.getProtocol()
protocol
- The type of protocol that AWS DataSync uses to access your file system. This parameter is required.this
public CfnLocationFSxOpenZFSProps.Builder securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
CfnLocationFSxOpenZFSProps.getSecurityGroupArns()
securityGroupArns
- The ARNs of the security groups that are used to configure the FSx for OpenZFS 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 CfnLocationFSxOpenZFSProps.Builder fsxFilesystemArn(java.lang.String fsxFilesystemArn)
CfnLocationFSxOpenZFSProps.getFsxFilesystemArn()
fsxFilesystemArn
- The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.this
public CfnLocationFSxOpenZFSProps.Builder subdirectory(java.lang.String subdirectory)
CfnLocationFSxOpenZFSProps.getSubdirectory()
subdirectory
- A subdirectory in the location's path that must begin with `/fsx` .
DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).this
public CfnLocationFSxOpenZFSProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnLocationFSxOpenZFSProps.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 CfnLocationFSxOpenZFSProps build()
CfnLocationFSxOpenZFSProps
java.lang.NullPointerException
- if any required attribute was not provided