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 transfer location that you want to update.
This field is required.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 transfer 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 transfer 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 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.
sourcepub fn set_subdirectory(self, input: Option<String>) -> Self
pub fn set_subdirectory(self, input: Option<String>) -> Self
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.
sourcepub fn get_subdirectory(&self) -> &Option<String>
pub fn get_subdirectory(&self) -> &Option<String>
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.
sourcepub fn on_prem_config(self, input: OnPremConfig) -> Self
pub fn on_prem_config(self, input: OnPremConfig) -> Self
The DataSync agents that are connecting to 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
The DataSync agents that are connecting to a Network File System (NFS) location.
sourcepub fn get_on_prem_config(&self) -> &Option<OnPremConfig>
pub fn get_on_prem_config(&self) -> &Option<OnPremConfig>
The DataSync agents that are connecting to 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 for UpdateLocationNfsInputBuilder
impl PartialEq 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 ==
.