public static final class CfnLocationFSxOpenZFS.MountOptionsProperty.Builder
extends java.lang.Object
CfnLocationFSxOpenZFS.MountOptionsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLocationFSxOpenZFS.MountOptionsProperty |
build()
Builds the configured instance.
|
CfnLocationFSxOpenZFS.MountOptionsProperty.Builder |
version(java.lang.String version)
Sets the value of
CfnLocationFSxOpenZFS.MountOptionsProperty.getVersion() |
public CfnLocationFSxOpenZFS.MountOptionsProperty.Builder version(java.lang.String version)
CfnLocationFSxOpenZFS.MountOptionsProperty.getVersion()
version
- The specific NFS version that you want DataSync to use to mount your NFS share.
If the server refuses to use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the NFS server.
You can specify the following NFS versions:
this
public CfnLocationFSxOpenZFS.MountOptionsProperty build()
CfnLocationFSxOpenZFS.MountOptionsProperty
java.lang.NullPointerException
- if any required attribute was not provided