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