Class CfnLocationSMBProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnLocationSMBProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLocationSMBProps
An implementation for CfnLocationSMBProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.datasync.CfnLocationSMBProps

    CfnLocationSMBProps.Builder, CfnLocationSMBProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnLocationSMBProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final List<String>
    The Amazon Resource Names (ARNs) of agents to use for a Server Message Block (SMB) location.
    final String
    Specifies the Windows domain name that your SMB file server belongs to.
    final Object
    Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
    final String
    The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
    final String
    Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.
    final String
    The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination.
    final List<CfnTag>
    Specifies labels that help you categorize, filter, and search for your AWS resources.
    final String
    The user who can mount the share and has the permissions to access files and folders in the SMB share.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(CfnLocationSMBProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnLocationSMBProps.Builder.
  • Method Details

    • getAgentArns

      public final List<String> getAgentArns()
      Description copied from interface: CfnLocationSMBProps
      The Amazon Resource Names (ARNs) of agents to use for a Server Message Block (SMB) location.
      Specified by:
      getAgentArns in interface CfnLocationSMBProps
    • getUser

      public final String getUser()
      Description copied from interface: CfnLocationSMBProps
      The user who can mount the share and has the permissions to access files and folders in the SMB share.

      For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .

      Specified by:
      getUser in interface CfnLocationSMBProps
    • getDomain

      public final String getDomain()
      Description copied from interface: CfnLocationSMBProps
      Specifies the Windows domain name that your SMB file server belongs to.

      For more information, see required permissions for SMB locations.

      Specified by:
      getDomain in interface CfnLocationSMBProps
    • getMountOptions

      public final Object getMountOptions()
      Description copied from interface: CfnLocationSMBProps
      Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
      Specified by:
      getMountOptions in interface CfnLocationSMBProps
    • getPassword

      public final String getPassword()
      Description copied from interface: CfnLocationSMBProps
      The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
      Specified by:
      getPassword in interface CfnLocationSMBProps
    • getServerHostname

      public final String getServerHostname()
      Description copied from interface: CfnLocationSMBProps
      Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.

      You can't specify an IP version 6 (IPv6) address.

      Specified by:
      getServerHostname in interface CfnLocationSMBProps
    • getSubdirectory

      public final String getSubdirectory()
      Description copied from interface: CfnLocationSMBProps
      The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination.

      The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.

      Subdirectory must be specified with forward slashes. For example, /path/to/folder .

      To transfer all the data in the folder you specified, DataSync must have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either make sure that the user name and password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either one enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.

      Specified by:
      getSubdirectory in interface CfnLocationSMBProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnLocationSMBProps
      Specifies labels that help you categorize, filter, and search for your AWS resources.

      We recommend creating at least a name tag for your location.

      Specified by:
      getTags in interface CfnLocationSMBProps
    • $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