AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | List of all members
Aws::DataSync::Model::CreateLocationNfsRequest Class Reference

#include <CreateLocationNfsRequest.h>

+ Inheritance diagram for Aws::DataSync::Model::CreateLocationNfsRequest:

Public Member Functions

 CreateLocationNfsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetSubdirectory () const
 
bool SubdirectoryHasBeenSet () const
 
void SetSubdirectory (const Aws::String &value)
 
void SetSubdirectory (Aws::String &&value)
 
void SetSubdirectory (const char *value)
 
CreateLocationNfsRequestWithSubdirectory (const Aws::String &value)
 
CreateLocationNfsRequestWithSubdirectory (Aws::String &&value)
 
CreateLocationNfsRequestWithSubdirectory (const char *value)
 
const Aws::StringGetServerHostname () const
 
bool ServerHostnameHasBeenSet () const
 
void SetServerHostname (const Aws::String &value)
 
void SetServerHostname (Aws::String &&value)
 
void SetServerHostname (const char *value)
 
CreateLocationNfsRequestWithServerHostname (const Aws::String &value)
 
CreateLocationNfsRequestWithServerHostname (Aws::String &&value)
 
CreateLocationNfsRequestWithServerHostname (const char *value)
 
const OnPremConfigGetOnPremConfig () const
 
bool OnPremConfigHasBeenSet () const
 
void SetOnPremConfig (const OnPremConfig &value)
 
void SetOnPremConfig (OnPremConfig &&value)
 
CreateLocationNfsRequestWithOnPremConfig (const OnPremConfig &value)
 
CreateLocationNfsRequestWithOnPremConfig (OnPremConfig &&value)
 
const NfsMountOptionsGetMountOptions () const
 
bool MountOptionsHasBeenSet () const
 
void SetMountOptions (const NfsMountOptions &value)
 
void SetMountOptions (NfsMountOptions &&value)
 
CreateLocationNfsRequestWithMountOptions (const NfsMountOptions &value)
 
CreateLocationNfsRequestWithMountOptions (NfsMountOptions &&value)
 
const Aws::Vector< TagListEntry > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< TagListEntry > &value)
 
void SetTags (Aws::Vector< TagListEntry > &&value)
 
CreateLocationNfsRequestWithTags (const Aws::Vector< TagListEntry > &value)
 
CreateLocationNfsRequestWithTags (Aws::Vector< TagListEntry > &&value)
 
CreateLocationNfsRequestAddTags (const TagListEntry &value)
 
CreateLocationNfsRequestAddTags (TagListEntry &&value)
 
- Public Member Functions inherited from Aws::DataSync::DataSyncRequest
virtual ~DataSyncRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

CreateLocationNfsRequest

See Also:

AWS API Reference

Definition at line 28 of file CreateLocationNfsRequest.h.

Constructor & Destructor Documentation

◆ CreateLocationNfsRequest()

Aws::DataSync::Model::CreateLocationNfsRequest::CreateLocationNfsRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::AddTags ( const TagListEntry value)
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 451 of file CreateLocationNfsRequest.h.

◆ AddTags() [2/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::AddTags ( TagListEntry &&  value)
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 458 of file CreateLocationNfsRequest.h.

◆ GetMountOptions()

const NfsMountOptions& Aws::DataSync::Model::CreateLocationNfsRequest::GetMountOptions ( ) const
inline

The NFS mount options that DataSync can use to mount your NFS share.

Definition at line 376 of file CreateLocationNfsRequest.h.

◆ GetOnPremConfig()

const OnPremConfig& Aws::DataSync::Model::CreateLocationNfsRequest::GetOnPremConfig ( ) const
inline

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

Definition at line 325 of file CreateLocationNfsRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::DataSync::Model::CreateLocationNfsRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::DataSync::DataSyncRequest.

◆ GetServerHostname()

const Aws::String& Aws::DataSync::Model::CreateLocationNfsRequest::GetServerHostname ( ) const
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 238 of file CreateLocationNfsRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::DataSync::Model::CreateLocationNfsRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 37 of file CreateLocationNfsRequest.h.

◆ GetSubdirectory()

const Aws::String& Aws::DataSync::Model::CreateLocationNfsRequest::GetSubdirectory ( ) const
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 65 of file CreateLocationNfsRequest.h.

◆ GetTags()

const Aws::Vector<TagListEntry>& Aws::DataSync::Model::CreateLocationNfsRequest::GetTags ( ) const
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 409 of file CreateLocationNfsRequest.h.

◆ MountOptionsHasBeenSet()

bool Aws::DataSync::Model::CreateLocationNfsRequest::MountOptionsHasBeenSet ( ) const
inline

The NFS mount options that DataSync can use to mount your NFS share.

Definition at line 381 of file CreateLocationNfsRequest.h.

◆ OnPremConfigHasBeenSet()

bool Aws::DataSync::Model::CreateLocationNfsRequest::OnPremConfigHasBeenSet ( ) const
inline

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

Definition at line 334 of file CreateLocationNfsRequest.h.

◆ SerializePayload()

Aws::String Aws::DataSync::Model::CreateLocationNfsRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServerHostnameHasBeenSet()

bool Aws::DataSync::Model::CreateLocationNfsRequest::ServerHostnameHasBeenSet ( ) const
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 249 of file CreateLocationNfsRequest.h.

◆ SetMountOptions() [1/2]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetMountOptions ( const NfsMountOptions value)
inline

The NFS mount options that DataSync can use to mount your NFS share.

Definition at line 386 of file CreateLocationNfsRequest.h.

◆ SetMountOptions() [2/2]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetMountOptions ( NfsMountOptions &&  value)
inline

The NFS mount options that DataSync can use to mount your NFS share.

Definition at line 391 of file CreateLocationNfsRequest.h.

◆ SetOnPremConfig() [1/2]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetOnPremConfig ( const OnPremConfig value)
inline

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

Definition at line 343 of file CreateLocationNfsRequest.h.

◆ SetOnPremConfig() [2/2]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetOnPremConfig ( OnPremConfig &&  value)
inline

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

Definition at line 352 of file CreateLocationNfsRequest.h.

◆ SetServerHostname() [1/3]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetServerHostname ( const Aws::String value)
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 260 of file CreateLocationNfsRequest.h.

◆ SetServerHostname() [2/3]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetServerHostname ( Aws::String &&  value)
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 271 of file CreateLocationNfsRequest.h.

◆ SetServerHostname() [3/3]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetServerHostname ( const char *  value)
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 282 of file CreateLocationNfsRequest.h.

◆ SetSubdirectory() [1/3]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetSubdirectory ( const Aws::String value)
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 111 of file CreateLocationNfsRequest.h.

◆ SetSubdirectory() [2/3]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetSubdirectory ( Aws::String &&  value)
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 134 of file CreateLocationNfsRequest.h.

◆ SetSubdirectory() [3/3]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetSubdirectory ( const char *  value)
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 157 of file CreateLocationNfsRequest.h.

◆ SetTags() [1/2]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetTags ( const Aws::Vector< TagListEntry > &  value)
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 423 of file CreateLocationNfsRequest.h.

◆ SetTags() [2/2]

void Aws::DataSync::Model::CreateLocationNfsRequest::SetTags ( Aws::Vector< TagListEntry > &&  value)
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 430 of file CreateLocationNfsRequest.h.

◆ SubdirectoryHasBeenSet()

bool Aws::DataSync::Model::CreateLocationNfsRequest::SubdirectoryHasBeenSet ( ) const
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 88 of file CreateLocationNfsRequest.h.

◆ TagsHasBeenSet()

bool Aws::DataSync::Model::CreateLocationNfsRequest::TagsHasBeenSet ( ) const
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 416 of file CreateLocationNfsRequest.h.

◆ WithMountOptions() [1/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithMountOptions ( const NfsMountOptions value)
inline

The NFS mount options that DataSync can use to mount your NFS share.

Definition at line 396 of file CreateLocationNfsRequest.h.

◆ WithMountOptions() [2/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithMountOptions ( NfsMountOptions &&  value)
inline

The NFS mount options that DataSync can use to mount your NFS share.

Definition at line 401 of file CreateLocationNfsRequest.h.

◆ WithOnPremConfig() [1/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithOnPremConfig ( const OnPremConfig value)
inline

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

Definition at line 361 of file CreateLocationNfsRequest.h.

◆ WithOnPremConfig() [2/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithOnPremConfig ( OnPremConfig &&  value)
inline

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

Definition at line 370 of file CreateLocationNfsRequest.h.

◆ WithServerHostname() [1/3]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithServerHostname ( const Aws::String value)
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 293 of file CreateLocationNfsRequest.h.

◆ WithServerHostname() [2/3]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithServerHostname ( Aws::String &&  value)
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 304 of file CreateLocationNfsRequest.h.

◆ WithServerHostname() [3/3]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithServerHostname ( const char *  value)
inline

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

Definition at line 315 of file CreateLocationNfsRequest.h.

◆ WithSubdirectory() [1/3]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithSubdirectory ( const Aws::String value)
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 180 of file CreateLocationNfsRequest.h.

◆ WithSubdirectory() [2/3]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithSubdirectory ( Aws::String &&  value)
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 203 of file CreateLocationNfsRequest.h.

◆ WithSubdirectory() [3/3]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithSubdirectory ( const char *  value)
inline

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server. run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

Definition at line 226 of file CreateLocationNfsRequest.h.

◆ WithTags() [1/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithTags ( const Aws::Vector< TagListEntry > &  value)
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 437 of file CreateLocationNfsRequest.h.

◆ WithTags() [2/2]

CreateLocationNfsRequest& Aws::DataSync::Model::CreateLocationNfsRequest::WithTags ( Aws::Vector< TagListEntry > &&  value)
inline

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Definition at line 444 of file CreateLocationNfsRequest.h.


The documentation for this class was generated from the following file: