#[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 ==
.