Struct aws_sdk_fsx::types::FileCacheNfsConfiguration
source · #[non_exhaustive]pub struct FileCacheNfsConfiguration {
pub version: Option<NfsVersion>,
pub dns_ips: Option<Vec<String>>,
}
Expand description
The configuration for an NFS data repository association (DRA) created during the creation of the Amazon File Cache resource.
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. 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.
Implementations§
source§impl FileCacheNfsConfiguration
impl FileCacheNfsConfiguration
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. 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()
.
source§impl FileCacheNfsConfiguration
impl FileCacheNfsConfiguration
sourcepub fn builder() -> FileCacheNfsConfigurationBuilder
pub fn builder() -> FileCacheNfsConfigurationBuilder
Creates a new builder-style object to manufacture FileCacheNfsConfiguration
.
Trait Implementations§
source§impl Clone for FileCacheNfsConfiguration
impl Clone for FileCacheNfsConfiguration
source§fn clone(&self) -> FileCacheNfsConfiguration
fn clone(&self) -> FileCacheNfsConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FileCacheNfsConfiguration
impl Debug for FileCacheNfsConfiguration
source§impl PartialEq for FileCacheNfsConfiguration
impl PartialEq for FileCacheNfsConfiguration
source§fn eq(&self, other: &FileCacheNfsConfiguration) -> bool
fn eq(&self, other: &FileCacheNfsConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.