Struct aws_sdk_datasync::operation::create_location_nfs::builders::CreateLocationNfsInputBuilder
source · #[non_exhaustive]pub struct CreateLocationNfsInputBuilder { /* private fields */ }
Expand description
A builder for CreateLocationNfsInput
.
Implementations§
source§impl CreateLocationNfsInputBuilder
impl CreateLocationNfsInputBuilder
sourcepub fn subdirectory(self, input: impl Into<String>) -> Self
pub fn subdirectory(self, input: impl Into<String>) -> Self
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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 "showmount -e nfs-server-name
" 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 Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn set_subdirectory(self, input: Option<String>) -> Self
pub fn set_subdirectory(self, input: Option<String>) -> Self
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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 "showmount -e nfs-server-name
" 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 Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn get_subdirectory(&self) -> &Option<String>
pub fn get_subdirectory(&self) -> &Option<String>
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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 "showmount -e nfs-server-name
" 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 Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn server_hostname(self, input: impl Into<String>) -> Self
pub fn server_hostname(self, input: impl Into<String>) -> Self
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname to mount the NFS server in a network.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
sourcepub fn set_server_hostname(self, input: Option<String>) -> Self
pub fn set_server_hostname(self, input: Option<String>) -> Self
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname to mount the NFS server in a network.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
sourcepub fn get_server_hostname(&self) -> &Option<String>
pub fn get_server_hostname(&self) -> &Option<String>
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname to mount the NFS server in a network.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
sourcepub fn on_prem_config(self, input: OnPremConfig) -> Self
pub fn on_prem_config(self, input: OnPremConfig) -> Self
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn set_on_prem_config(self, input: Option<OnPremConfig>) -> Self
pub fn set_on_prem_config(self, input: Option<OnPremConfig>) -> Self
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn get_on_prem_config(&self) -> &Option<OnPremConfig>
pub fn get_on_prem_config(&self) -> &Option<OnPremConfig>
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn mount_options(self, input: NfsMountOptions) -> Self
pub fn mount_options(self, input: NfsMountOptions) -> Self
Specifies the mount options that DataSync can use to mount your NFS share.
sourcepub fn set_mount_options(self, input: Option<NfsMountOptions>) -> Self
pub fn set_mount_options(self, input: Option<NfsMountOptions>) -> Self
Specifies the mount options that DataSync can use to mount your NFS share.
sourcepub fn get_mount_options(&self) -> &Option<NfsMountOptions>
pub fn get_mount_options(&self) -> &Option<NfsMountOptions>
Specifies the mount options that DataSync can use to mount your NFS share.
Appends an item to tags
.
To override the contents of this collection use set_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.
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.
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.
sourcepub fn build(self) -> Result<CreateLocationNfsInput, BuildError>
pub fn build(self) -> Result<CreateLocationNfsInput, BuildError>
Consumes the builder and constructs a CreateLocationNfsInput
.
source§impl CreateLocationNfsInputBuilder
impl CreateLocationNfsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLocationNfsOutput, SdkError<CreateLocationNfsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLocationNfsOutput, SdkError<CreateLocationNfsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLocationNfsInputBuilder
impl Clone for CreateLocationNfsInputBuilder
source§fn clone(&self) -> CreateLocationNfsInputBuilder
fn clone(&self) -> CreateLocationNfsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateLocationNfsInputBuilder
impl Default for CreateLocationNfsInputBuilder
source§fn default() -> CreateLocationNfsInputBuilder
fn default() -> CreateLocationNfsInputBuilder
source§impl PartialEq<CreateLocationNfsInputBuilder> for CreateLocationNfsInputBuilder
impl PartialEq<CreateLocationNfsInputBuilder> for CreateLocationNfsInputBuilder
source§fn eq(&self, other: &CreateLocationNfsInputBuilder) -> bool
fn eq(&self, other: &CreateLocationNfsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.