Class CfnLocationNFS.MountOptionsProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.datasync.CfnLocationNFS.MountOptionsProperty.Jsii$Proxy
All Implemented Interfaces:
CfnLocationNFS.MountOptionsProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnLocationNFS.MountOptionsProperty

@Stability(Stable) @Internal public static final class CfnLocationNFS.MountOptionsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLocationNFS.MountOptionsProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnLocationNFS.MountOptionsProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnLocationNFS.MountOptionsProperty.Builder.
  • Method Details

    • getVersion

      public final String getVersion()
      Description copied from interface: CfnLocationNFS.MountOptionsProperty
      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.

      Specified by:
      getVersion in interface CfnLocationNFS.MountOptionsProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object