Class NfsMountOptions
- java.lang.Object
-
- software.amazon.awssdk.services.datasync.model.NfsMountOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NfsMountOptions.Builder,NfsMountOptions>
@Generated("software.amazon.awssdk:codegen") public final class NfsMountOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NfsMountOptions.Builder,NfsMountOptions>
Specifies how DataSync can access a location using the NFS protocol.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNfsMountOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NfsMountOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends NfsMountOptions.Builder>serializableBuilderClass()NfsMountOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.NfsVersionversion()Specifies the NFS version that you want DataSync to use when mounting your NFS share.StringversionAsString()Specifies the NFS version that you want DataSync to use when mounting your NFS share.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
version
public final NfsVersion 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.
If the service returns an enum value that is not available in the current SDK version,
versionwill returnNfsVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromversionAsString().- Returns:
- 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.
-
- See Also:
NfsVersion
-
-
versionAsString
public final String versionAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
versionwill returnNfsVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromversionAsString().- Returns:
- 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.
-
- See Also:
NfsVersion
-
-
toBuilder
public NfsMountOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NfsMountOptions.Builder,NfsMountOptions>
-
builder
public static NfsMountOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends NfsMountOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-