Class CfnLocationFSxONTAP.NfsMountOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationFSxONTAP.NfsMountOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxONTAP.NfsMountOptionsProperty>
- Enclosing interface:
CfnLocationFSxONTAP.NfsMountOptionsProperty
@Stability(Stable)
public static final class CfnLocationFSxONTAP.NfsMountOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxONTAP.NfsMountOptionsProperty>
A builder for
CfnLocationFSxONTAP.NfsMountOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnLocationFSxONTAP.NfsMountOptionsProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
version
@Stability(Stable) public CfnLocationFSxONTAP.NfsMountOptionsProperty.Builder version(String version) Sets the value ofCfnLocationFSxONTAP.NfsMountOptionsProperty.getVersion()
- Parameters:
version
- Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails.You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.NFS3
: Stateless protocol version that allows for asynchronous writes on the server.NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo file systems.NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and parallel data processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocationFSxONTAP.NfsMountOptionsProperty>
- Returns:
- a new instance of
CfnLocationFSxONTAP.NfsMountOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-