Class CfnLocationFSxONTAPMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnLocationFSxONTAPMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxONTAPMixinProps>
- Enclosing interface:
CfnLocationFSxONTAPMixinProps
@Stability(Stable)
public static final class CfnLocationFSxONTAPMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxONTAPMixinProps>
A builder for
CfnLocationFSxONTAPMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.protocol(IResolvable protocol) Sets the value ofCfnLocationFSxONTAPMixinProps.getProtocol()Sets the value ofCfnLocationFSxONTAPMixinProps.getProtocol()securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxONTAPMixinProps.getSecurityGroupArns()storageVirtualMachineArn(String storageVirtualMachineArn) Sets the value ofCfnLocationFSxONTAPMixinProps.getStorageVirtualMachineArn()subdirectory(String subdirectory) Sets the value ofCfnLocationFSxONTAPMixinProps.getSubdirectory()Sets the value ofCfnLocationFSxONTAPMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
protocol
Sets the value ofCfnLocationFSxONTAPMixinProps.getProtocol()- Parameters:
protocol- Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.- Returns:
this
-
protocol
@Stability(Stable) public CfnLocationFSxONTAPMixinProps.Builder protocol(CfnLocationFSxONTAPPropsMixin.ProtocolProperty protocol) Sets the value ofCfnLocationFSxONTAPMixinProps.getProtocol()- Parameters:
protocol- Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.- Returns:
this
-
securityGroupArns
@Stability(Stable) public CfnLocationFSxONTAPMixinProps.Builder securityGroupArns(List<String> securityGroupArns) Sets the value ofCfnLocationFSxONTAPMixinProps.getSecurityGroupArns()- Parameters:
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.
- Returns:
this
-
storageVirtualMachineArn
@Stability(Stable) public CfnLocationFSxONTAPMixinProps.Builder storageVirtualMachineArn(String storageVirtualMachineArn) Sets the value ofCfnLocationFSxONTAPMixinProps.getStorageVirtualMachineArn()- Parameters:
storageVirtualMachineArn- Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.- Returns:
this
-
subdirectory
Sets the value ofCfnLocationFSxONTAPMixinProps.getSubdirectory()- Parameters:
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 .
- Returns:
this
-
tags
Sets the value ofCfnLocationFSxONTAPMixinProps.getTags()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxONTAPMixinProps>- Returns:
- a new instance of
CfnLocationFSxONTAPMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-