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 ==
.impl StructuralPartialEq for FileCacheNfsConfiguration
Auto Trait Implementations§
impl Freeze for FileCacheNfsConfiguration
impl RefUnwindSafe for FileCacheNfsConfiguration
impl Send for FileCacheNfsConfiguration
impl Sync for FileCacheNfsConfiguration
impl Unpin for FileCacheNfsConfiguration
impl UnwindSafe for FileCacheNfsConfiguration
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> 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