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 ==
.impl StructuralPartialEq for UpdateLocationNfsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateLocationNfsInputBuilder
impl RefUnwindSafe for UpdateLocationNfsInputBuilder
impl Send for UpdateLocationNfsInputBuilder
impl Sync for UpdateLocationNfsInputBuilder
impl Unpin for UpdateLocationNfsInputBuilder
impl UnwindSafe for UpdateLocationNfsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more