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 CreateLocationNfsRequest

    • Constructor Detail

      • CreateLocationNfsRequest

        public CreateLocationNfsRequest()
    • Method Detail

      • setSubdirectory

        public void setSubdirectory(String subdirectory)

        Specifies the export path in your NFS file server that you want DataSync to mount.

        This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

        Parameters:
        subdirectory - Specifies the export path in your NFS file server that you want DataSync to mount.

        This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

      • getSubdirectory

        public String getSubdirectory()

        Specifies the export path in your NFS file server that you want DataSync to mount.

        This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

        Returns:
        Specifies the export path in your NFS file server that you want DataSync to mount.

        This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

      • withSubdirectory

        public CreateLocationNfsRequest withSubdirectory(String subdirectory)

        Specifies the export path in your NFS file server that you want DataSync to mount.

        This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

        Parameters:
        subdirectory - Specifies the export path in your NFS file server that you want DataSync to mount.

        This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

        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 System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.

        Parameters:
        serverHostname - Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
      • getServerHostname

        public String getServerHostname()

        Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.

        Returns:
        Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
      • withServerHostname

        public CreateLocationNfsRequest withServerHostname(String serverHostname)

        Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.

        Parameters:
        serverHostname - Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOnPremConfig

        public void setOnPremConfig(OnPremConfig onPremConfig)

        Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.

        You can specify more than one agent. For more information, see Using multiple agents for transfers.

        Parameters:
        onPremConfig - Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.

        You can specify more than one agent. For more information, see Using multiple agents for transfers.

      • getOnPremConfig

        public OnPremConfig getOnPremConfig()

        Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.

        You can specify more than one agent. For more information, see Using multiple agents for transfers.

        Returns:
        Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.

        You can specify more than one agent. For more information, see Using multiple agents for transfers.

      • withOnPremConfig

        public CreateLocationNfsRequest withOnPremConfig(OnPremConfig onPremConfig)

        Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.

        You can specify more than one agent. For more information, see Using multiple agents for transfers.

        Parameters:
        onPremConfig - Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.

        You can specify more than one agent. For more information, see Using multiple agents for transfers.

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

        public void setMountOptions(NfsMountOptions mountOptions)

        Specifies the options that DataSync can use to mount your NFS file server.

        Parameters:
        mountOptions - Specifies the options that DataSync can use to mount your NFS file server.
      • getMountOptions

        public NfsMountOptions getMountOptions()

        Specifies the options that DataSync can use to mount your NFS file server.

        Returns:
        Specifies the options that DataSync can use to mount your NFS file server.
      • withMountOptions

        public CreateLocationNfsRequest withMountOptions(NfsMountOptions mountOptions)

        Specifies the options that DataSync can use to mount your NFS file server.

        Parameters:
        mountOptions - Specifies the options that DataSync can use to mount your NFS 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 CreateLocationNfsRequest 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 CreateLocationNfsRequest 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 によって変換されたページ (->オリジナル) /