JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.datasync.model

Class CreateLocationSmbRequest

    • Constructor Detail

      • CreateLocationSmbRequest

        public CreateLocationSmbRequest()
    • Method Detail

      • setSubdirectory

        public void setSubdirectory(String subdirectory)

        Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.

        To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.

        Parameters:
        subdirectory - Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.

        To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.

      • getSubdirectory

        public String getSubdirectory()

        Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.

        To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.

        Returns:
        Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.

        To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.

      • withSubdirectory

        public CreateLocationSmbRequest withSubdirectory(String subdirectory)

        Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.

        To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.

        Parameters:
        subdirectory - Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.

        To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServerHostname

        public void setServerHostname(String serverHostname)

        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.

        Parameters:
        serverHostname - 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.

      • getServerHostname

        public String getServerHostname()

        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.

        Returns:
        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.

      • withServerHostname

        public CreateLocationSmbRequest withServerHostname(String serverHostname)

        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.

        Parameters:
        serverHostname - 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUser

        public void setUser(String user)

        Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.

        For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.

        Parameters:
        user - Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.

        For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.

      • getUser

        public String getUser()

        Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.

        For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.

        Returns:
        Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.

        For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.

      • withUser

        public CreateLocationSmbRequest withUser(String user)

        Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.

        For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.

        Parameters:
        user - Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.

        For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDomain

        public void setDomain(String domain)

        Specifies the name of the Active Directory domain that your SMB file server belongs to.

        If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.

        Parameters:
        domain - Specifies the name of the Active Directory domain that your SMB file server belongs to.

        If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.

      • getDomain

        public String getDomain()

        Specifies the name of the Active Directory domain that your SMB file server belongs to.

        If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.

        Returns:
        Specifies the name of the Active Directory domain that your SMB file server belongs to.

        If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.

      • withDomain

        public CreateLocationSmbRequest withDomain(String domain)

        Specifies the name of the Active Directory domain that your SMB file server belongs to.

        If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.

        Parameters:
        domain - Specifies the name of the Active Directory domain that your SMB file server belongs to.

        If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPassword

        public void setPassword(String password)

        Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.

        For more information, see required permissions for SMB locations.

        Parameters:
        password - Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.

        For more information, see required permissions for SMB locations.

      • getPassword

        public String getPassword()

        Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.

        For more information, see required permissions for SMB locations.

        Returns:
        Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.

        For more information, see required permissions for SMB locations.

      • withPassword

        public CreateLocationSmbRequest withPassword(String password)

        Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.

        For more information, see required permissions for SMB locations.

        Parameters:
        password - Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.

        For more information, see required permissions for SMB locations.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAgentArns

        public List<String> getAgentArns()

        Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).

        Returns:
        Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
      • setAgentArns

        public void setAgentArns(Collection<String> agentArns)

        Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).

        Parameters:
        agentArns - Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
      • withAgentArns

        public CreateLocationSmbRequest withAgentArns(String... agentArns)

        Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).

        NOTE: This method appends the values to the existing list (if any). Use setAgentArns(java.util.Collection) or withAgentArns(java.util.Collection) if you want to override the existing values.

        Parameters:
        agentArns - Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withAgentArns

        public CreateLocationSmbRequest withAgentArns(Collection<String> agentArns)

        Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).

        Parameters:
        agentArns - Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMountOptions

        public void setMountOptions(SmbMountOptions mountOptions)

        Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.

        Parameters:
        mountOptions - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
      • getMountOptions

        public SmbMountOptions getMountOptions()

        Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.

        Returns:
        Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
      • withMountOptions

        public CreateLocationSmbRequest withMountOptions(SmbMountOptions mountOptions)

        Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.

        Parameters:
        mountOptions - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<TagListEntry> getTags()

        Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

        Returns:
        Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
      • setTags

        public void setTags(Collection<TagListEntry> tags)

        Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

        Parameters:
        tags - Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
      • withTags

        public CreateLocationSmbRequest withTags(TagListEntry... tags)

        Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateLocationSmbRequest withTags(Collection<TagListEntry> tags)

        Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

        Parameters:
        tags - Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /