Class CfnLocationFSxOpenZFSPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationFSxOpenZFSPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxOpenZFSPropsMixin>
- Enclosing class:
CfnLocationFSxOpenZFSPropsMixin
@Stability(Stable)
public static final class CfnLocationFSxOpenZFSPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxOpenZFSPropsMixin>
A fluent builder for
CfnLocationFSxOpenZFSPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) fsxFilesystemArn(String fsxFilesystemArn) The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.The type of protocol that AWS DataSync uses to access your file system.protocol(IResolvable protocol) The type of protocol that AWS DataSync uses to access your file system.securityGroupArns(List<String> securityGroupArns) The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.subdirectory(String subdirectory) A subdirectory in the location's path that must begin with/fsx.The key-value pair that represents a tag that you want to add to the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnLocationFSxOpenZFSPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLocationFSxOpenZFSPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLocationFSxOpenZFSPropsMixin.Builder.
-
fsxFilesystemArn
@Stability(Stable) public CfnLocationFSxOpenZFSPropsMixin.Builder fsxFilesystemArn(String fsxFilesystemArn) The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.- Parameters:
fsxFilesystemArn- The Amazon Resource Name (ARN) of the FSx for OpenZFS file system. This parameter is required.- Returns:
this- See Also:
-
protocol
The type of protocol that AWS DataSync uses to access your file system.- Parameters:
protocol- The type of protocol that AWS DataSync uses to access your file system. This parameter is required.- Returns:
this- See Also:
-
protocol
@Stability(Stable) public CfnLocationFSxOpenZFSPropsMixin.Builder protocol(CfnLocationFSxOpenZFSPropsMixin.ProtocolProperty protocol) The type of protocol that AWS DataSync uses to access your file system.- Parameters:
protocol- The type of protocol that AWS DataSync uses to access your file system. This parameter is required.- Returns:
this- See Also:
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxOpenZFSPropsMixin.Builder securityGroupArns(List<String> 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.
- Parameters:
securityGroupArns- The ARNs of the security groups that are used to configure the FSx for OpenZFS file system. This parameter is required.- Returns:
this- See Also:
-
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).
- Parameters:
subdirectory- A subdirectory in the location's path that must begin with/fsx. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
tags- The key-value pair that represents a tag that you want to add to the resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxOpenZFSPropsMixin>- Returns:
- a newly built instance of
CfnLocationFSxOpenZFSPropsMixin.
-