Class CfnLocationFSxOpenZFSMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationFSxOpenZFSMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxOpenZFSMixinProps>
- Enclosing interface:
CfnLocationFSxOpenZFSMixinProps
@Stability(Stable)
public static final class CfnLocationFSxOpenZFSMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxOpenZFSMixinProps>
A builder for
CfnLocationFSxOpenZFSMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxOpenZFSMixinProps.getFsxFilesystemArn()Sets the value ofCfnLocationFSxOpenZFSMixinProps.getProtocol()protocol(IResolvable protocol) Sets the value ofCfnLocationFSxOpenZFSMixinProps.getProtocol()securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxOpenZFSMixinProps.getSecurityGroupArns()subdirectory(String subdirectory) Sets the value ofCfnLocationFSxOpenZFSMixinProps.getSubdirectory()Sets the value ofCfnLocationFSxOpenZFSMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fsxFilesystemArn
@Stability(Stable) public CfnLocationFSxOpenZFSMixinProps.Builder fsxFilesystemArn(String fsxFilesystemArn) Sets the value ofCfnLocationFSxOpenZFSMixinProps.getFsxFilesystemArn()- Parameters:
fsxFilesystemArn- The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.- Returns:
this
-
protocol
Sets the value ofCfnLocationFSxOpenZFSMixinProps.getProtocol()- Parameters:
protocol- The type of protocol that AWS DataSync uses to access your file system.- Returns:
this
-
protocol
@Stability(Stable) public CfnLocationFSxOpenZFSMixinProps.Builder protocol(CfnLocationFSxOpenZFSPropsMixin.ProtocolProperty protocol) Sets the value ofCfnLocationFSxOpenZFSMixinProps.getProtocol()- Parameters:
protocol- The type of protocol that AWS DataSync uses to access your file system.- Returns:
this
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxOpenZFSMixinProps.Builder securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxOpenZFSMixinProps.getSecurityGroupArns()- Parameters:
securityGroupArns- The ARNs of the security groups that are used to configure the FSx for OpenZFS 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 ofCfnLocationFSxOpenZFSMixinProps.getSubdirectory()- Parameters:
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).- Returns:
this
-
tags
Sets the value ofCfnLocationFSxOpenZFSMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxOpenZFSMixinProps>- Returns:
- a new instance of
CfnLocationFSxOpenZFSMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-