Struct aws_sdk_datasync::operation::update_location_nfs::builders::UpdateLocationNfsInputBuilder
source · #[non_exhaustive]pub struct UpdateLocationNfsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateLocationNfsInput
.
Implementations§
source§impl UpdateLocationNfsInputBuilder
impl UpdateLocationNfsInputBuilder
sourcepub fn location_arn(self, input: impl Into<String>) -> Self
pub fn location_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the NFS location that you want to update.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the NFS location that you want to update.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the NFS location that you want to update.
sourcepub fn subdirectory(self, input: impl Into<String>) -> Self
pub fn subdirectory(self, input: impl Into<String>) -> Self
Specifies the subdirectory in your NFS file system that DataSync uses to read from or write to during a transfer. The NFS path should be 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 that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash
, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option 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 your NFS file system that DataSync uses to read from or write to during a transfer. The NFS path should be 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 that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash
, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option 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 your NFS file system that DataSync uses to read from or write to during a transfer. The NFS path should be 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 that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash
, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option 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 on_prem_config(self, input: OnPremConfig) -> Self
pub fn on_prem_config(self, input: OnPremConfig) -> Self
A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.
sourcepub fn set_on_prem_config(self, input: Option<OnPremConfig>) -> Self
pub fn set_on_prem_config(self, input: Option<OnPremConfig>) -> Self
A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.
sourcepub fn get_on_prem_config(&self) -> &Option<OnPremConfig>
pub fn get_on_prem_config(&self) -> &Option<OnPremConfig>
A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.
sourcepub fn mount_options(self, input: NfsMountOptions) -> Self
pub fn mount_options(self, input: NfsMountOptions) -> Self
Specifies how DataSync can access a location using the NFS protocol.
sourcepub fn set_mount_options(self, input: Option<NfsMountOptions>) -> Self
pub fn set_mount_options(self, input: Option<NfsMountOptions>) -> Self
Specifies how DataSync can access a location using the NFS protocol.
sourcepub fn get_mount_options(&self) -> &Option<NfsMountOptions>
pub fn get_mount_options(&self) -> &Option<NfsMountOptions>
Specifies how DataSync can access a location using the NFS protocol.
sourcepub fn build(self) -> Result<UpdateLocationNfsInput, BuildError>
pub fn build(self) -> Result<UpdateLocationNfsInput, BuildError>
Consumes the builder and constructs a UpdateLocationNfsInput
.
source§impl UpdateLocationNfsInputBuilder
impl UpdateLocationNfsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateLocationNfsOutput, SdkError<UpdateLocationNfsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateLocationNfsOutput, SdkError<UpdateLocationNfsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLocationNfsInputBuilder
impl Clone for UpdateLocationNfsInputBuilder
source§fn clone(&self) -> UpdateLocationNfsInputBuilder
fn clone(&self) -> UpdateLocationNfsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateLocationNfsInputBuilder
impl Default for UpdateLocationNfsInputBuilder
source§fn default() -> UpdateLocationNfsInputBuilder
fn default() -> UpdateLocationNfsInputBuilder
source§impl PartialEq<UpdateLocationNfsInputBuilder> for UpdateLocationNfsInputBuilder
impl PartialEq<UpdateLocationNfsInputBuilder> for UpdateLocationNfsInputBuilder
source§fn eq(&self, other: &UpdateLocationNfsInputBuilder) -> bool
fn eq(&self, other: &UpdateLocationNfsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.