Struct aws_sdk_fsx::types::NfsDataRepositoryConfiguration
source · #[non_exhaustive]pub struct NfsDataRepositoryConfiguration {
pub version: Option<NfsVersion>,
pub dns_ips: Option<Vec<String>>,
pub auto_export_policy: Option<AutoExportPolicy>,
}
Expand description
The configuration for a data repository association that links an Amazon File Cache resource to an NFS data repository.
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.version: Option<NfsVersion>
The version of the NFS (Network File System) protocol of the NFS data repository. Currently, the only supported value is NFS3
, which indicates that the data repository must support the NFSv3 protocol.
dns_ips: Option<Vec<String>>
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder or resolver that the customer manages and runs inside the customer VPC, or the IP addresses of the on-premises DNS servers.
auto_export_policy: Option<AutoExportPolicy>
This parameter is not supported for Amazon File Cache.
Implementations§
source§impl NfsDataRepositoryConfiguration
impl NfsDataRepositoryConfiguration
sourcepub fn version(&self) -> Option<&NfsVersion>
pub fn version(&self) -> Option<&NfsVersion>
The version of the NFS (Network File System) protocol of the NFS data repository. Currently, the only supported value is NFS3
, which indicates that the data repository must support the NFSv3 protocol.
sourcepub fn dns_ips(&self) -> &[String]
pub fn dns_ips(&self) -> &[String]
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder or resolver that the customer manages and runs inside the customer VPC, or the IP addresses of the on-premises DNS servers.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dns_ips.is_none()
.
sourcepub fn auto_export_policy(&self) -> Option<&AutoExportPolicy>
pub fn auto_export_policy(&self) -> Option<&AutoExportPolicy>
This parameter is not supported for Amazon File Cache.
source§impl NfsDataRepositoryConfiguration
impl NfsDataRepositoryConfiguration
sourcepub fn builder() -> NfsDataRepositoryConfigurationBuilder
pub fn builder() -> NfsDataRepositoryConfigurationBuilder
Creates a new builder-style object to manufacture NfsDataRepositoryConfiguration
.
Trait Implementations§
source§impl Clone for NfsDataRepositoryConfiguration
impl Clone for NfsDataRepositoryConfiguration
source§fn clone(&self) -> NfsDataRepositoryConfiguration
fn clone(&self) -> NfsDataRepositoryConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for NfsDataRepositoryConfiguration
impl PartialEq for NfsDataRepositoryConfiguration
source§fn eq(&self, other: &NfsDataRepositoryConfiguration) -> bool
fn eq(&self, other: &NfsDataRepositoryConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.