public static final class CfnLocationFSxONTAP.Builder
extends java.lang.Object
CfnLocationFSxONTAP
.Modifier and Type | Method and Description |
---|---|
CfnLocationFSxONTAP |
build() |
static CfnLocationFSxONTAP.Builder |
create(Construct scope,
java.lang.String id) |
CfnLocationFSxONTAP.Builder |
protocol(CfnLocationFSxONTAP.ProtocolProperty protocol)
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
|
CfnLocationFSxONTAP.Builder |
protocol(IResolvable protocol)
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
|
CfnLocationFSxONTAP.Builder |
securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system.
|
CfnLocationFSxONTAP.Builder |
storageVirtualMachineArn(java.lang.String storageVirtualMachineArn)
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.
|
CfnLocationFSxONTAP.Builder |
subdirectory(java.lang.String subdirectory)
Specifies a path to the file share in the SVM where you'll copy your data.
|
CfnLocationFSxONTAP.Builder |
tags(java.util.List<? extends CfnTag> tags)
Specifies labels that help you categorize, filter, and search for your AWS resources.
|
public static CfnLocationFSxONTAP.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnLocationFSxONTAP.NFSProperty.Builder
.public CfnLocationFSxONTAP.Builder securityGroupArns(java.util.List<java.lang.String> securityGroupArns)
You must configure the security groups to allow outbound traffic on the following ports (depending on the protocol that you're using):
Your file system's security groups must also allow inbound traffic on the same port.
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.this
public CfnLocationFSxONTAP.Builder storageVirtualMachineArn(java.lang.String storageVirtualMachineArn)
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.this
public CfnLocationFSxONTAP.Builder protocol(IResolvable protocol)
protocol
- Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. This parameter is required.this
public CfnLocationFSxONTAP.Builder protocol(CfnLocationFSxONTAP.ProtocolProperty protocol)
protocol
- Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. This parameter is required.this
public CfnLocationFSxONTAP.Builder subdirectory(java.lang.String subdirectory)
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 .
subdirectory
- Specifies a path to the file share in the SVM where you'll copy your data. This parameter is required.this
public CfnLocationFSxONTAP.Builder tags(java.util.List<? extends CfnTag> tags)
We recommend creating at least a name tag for your location.
tags
- Specifies labels that help you categorize, filter, and search for your AWS resources. This parameter is required.this
public CfnLocationFSxONTAP build()