#[non_exhaustive]pub struct FileCacheNfsConfigurationBuilder { /* private fields */ }
Expand description
A builder for FileCacheNfsConfiguration
.
Implementations§
source§impl FileCacheNfsConfigurationBuilder
impl FileCacheNfsConfigurationBuilder
sourcepub fn version(self, input: NfsVersion) -> Self
pub fn version(self, input: NfsVersion) -> Self
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 set_version(self, input: Option<NfsVersion>) -> Self
pub fn set_version(self, input: Option<NfsVersion>) -> Self
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 get_version(&self) -> &Option<NfsVersion>
pub fn get_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, input: impl Into<String>) -> Self
pub fn dns_ips(self, input: impl Into<String>) -> Self
Appends an item to dns_ips
.
To override the contents of this collection use set_dns_ips
.
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.
sourcepub fn set_dns_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_dns_ips(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_dns_ips(&self) -> &Option<Vec<String>>
pub fn get_dns_ips(&self) -> &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.
sourcepub fn build(self) -> FileCacheNfsConfiguration
pub fn build(self) -> FileCacheNfsConfiguration
Consumes the builder and constructs a FileCacheNfsConfiguration
.
Trait Implementations§
source§impl Clone for FileCacheNfsConfigurationBuilder
impl Clone for FileCacheNfsConfigurationBuilder
source§fn clone(&self) -> FileCacheNfsConfigurationBuilder
fn clone(&self) -> FileCacheNfsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FileCacheNfsConfigurationBuilder
impl Default for FileCacheNfsConfigurationBuilder
source§fn default() -> FileCacheNfsConfigurationBuilder
fn default() -> FileCacheNfsConfigurationBuilder
source§impl PartialEq for FileCacheNfsConfigurationBuilder
impl PartialEq for FileCacheNfsConfigurationBuilder
source§fn eq(&self, other: &FileCacheNfsConfigurationBuilder) -> bool
fn eq(&self, other: &FileCacheNfsConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.