Class CfnLocationFSxONTAPPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationFSxONTAPPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin>
- Enclosing class:
CfnLocationFSxONTAPPropsMixin
@Stability(Stable)
public static final class CfnLocationFSxONTAPPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin>
A fluent builder for
CfnLocationFSxONTAPPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.protocol(IResolvable protocol) Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.securityGroupArns(List<String> securityGroupArns) Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system.storageVirtualMachineArn(String storageVirtualMachineArn) Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.subdirectory(String subdirectory) Specifies a path to the file share in the SVM where you want to transfer data to or from.Specifies labels that help you categorize, filter, and search for your AWS resources.
-
Method Details
-
create
@Stability(Stable) public static CfnLocationFSxONTAPPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLocationFSxONTAPPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLocationFSxONTAPPropsMixin.Builder.
-
protocol
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.- Parameters:
protocol- Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. This parameter is required.- Returns:
this- See Also:
-
protocol
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.Builder protocol(CfnLocationFSxONTAPPropsMixin.ProtocolProperty protocol) Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.- Parameters:
protocol- Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. This parameter is required.- Returns:
this- See Also:
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.Builder securityGroupArns(List<String> securityGroupArns) Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system.You must configure the security groups to allow outbound traffic on the following ports (depending on the protocol that you're using):
- Network File System (NFS) : TCP ports 111, 635, and 2049
- Server Message Block (SMB) : TCP port 445
Your file system's security groups must also allow inbound traffic on the same port.
- Parameters:
securityGroupArns- Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system. This parameter is required.- Returns:
this- See Also:
-
storageVirtualMachineArn
@Stability(Stable) public CfnLocationFSxONTAPPropsMixin.Builder storageVirtualMachineArn(String storageVirtualMachineArn) Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.- Parameters:
storageVirtualMachineArn- Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from. This parameter is required.- Returns:
this- See Also:
-
subdirectory
Specifies a path to the file share in the SVM where you want to transfer data to or from.You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be
/vol1,/vol1/tree1, or/share1.Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide .
- Parameters:
subdirectory- Specifies a path to the file share in the SVM where you want to transfer data to or from. This parameter is required.- Returns:
this- See Also:
-
tags
Specifies labels that help you categorize, filter, and search for your AWS resources.We recommend creating at least a name tag for your location.
- Parameters:
tags- Specifies labels that help you categorize, filter, and search for your AWS resources. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxONTAPPropsMixin>- Returns:
- a newly built instance of
CfnLocationFSxONTAPPropsMixin.
-