#[non_exhaustive]pub struct CreateLocationNfsInput {
pub subdirectory: Option<String>,
pub server_hostname: Option<String>,
pub on_prem_config: Option<OnPremConfig>,
pub mount_options: Option<NfsMountOptions>,
pub tags: Option<Vec<TagListEntry>>,
}
Expand description
CreateLocationNfsRequest
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.subdirectory: 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.
server_hostname: Option<String>
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
on_prem_config: Option<OnPremConfig>
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
mount_options: Option<NfsMountOptions>
Specifies the options that DataSync can use to mount your NFS file server.
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.
Implementations§
source§impl CreateLocationNfsInput
impl CreateLocationNfsInput
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
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 server_hostname(&self) -> Option<&str>
pub fn server_hostname(&self) -> Option<&str>
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
sourcepub fn on_prem_config(&self) -> Option<&OnPremConfig>
pub fn on_prem_config(&self) -> Option<&OnPremConfig>
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
sourcepub fn mount_options(&self) -> Option<&NfsMountOptions>
pub fn mount_options(&self) -> Option<&NfsMountOptions>
Specifies the options that DataSync can use to mount your NFS file server.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateLocationNfsInput
impl CreateLocationNfsInput
sourcepub fn builder() -> CreateLocationNfsInputBuilder
pub fn builder() -> CreateLocationNfsInputBuilder
Creates a new builder-style object to manufacture CreateLocationNfsInput
.
Trait Implementations§
source§impl Clone for CreateLocationNfsInput
impl Clone for CreateLocationNfsInput
source§fn clone(&self) -> CreateLocationNfsInput
fn clone(&self) -> CreateLocationNfsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLocationNfsInput
impl Debug for CreateLocationNfsInput
source§impl PartialEq for CreateLocationNfsInput
impl PartialEq for CreateLocationNfsInput
source§fn eq(&self, other: &CreateLocationNfsInput) -> bool
fn eq(&self, other: &CreateLocationNfsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLocationNfsInput
Auto Trait Implementations§
impl Freeze for CreateLocationNfsInput
impl RefUnwindSafe for CreateLocationNfsInput
impl Send for CreateLocationNfsInput
impl Sync for CreateLocationNfsInput
impl Unpin for CreateLocationNfsInput
impl UnwindSafe for CreateLocationNfsInput
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