@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileCacheNFSConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for an NFS data repository association (DRA) created during the creation of the Amazon File Cache resource.
Constructor and Description |
---|
FileCacheNFSConfiguration() |
Modifier and Type | Method and Description |
---|---|
FileCacheNFSConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDnsIps()
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.
|
String |
getVersion()
The version of the NFS (Network File System) protocol of the NFS data repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDnsIps(Collection<String> dnsIps)
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.
|
void |
setVersion(String version)
The version of the NFS (Network File System) protocol of the NFS data repository.
|
String |
toString()
Returns a string representation of this object.
|
FileCacheNFSConfiguration |
withDnsIps(Collection<String> dnsIps)
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.
|
FileCacheNFSConfiguration |
withDnsIps(String... dnsIps)
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.
|
FileCacheNFSConfiguration |
withVersion(NfsVersion version)
The version of the NFS (Network File System) protocol of the NFS data repository.
|
FileCacheNFSConfiguration |
withVersion(String version)
The version of the NFS (Network File System) protocol of the NFS data repository.
|
public void setVersion(String version)
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.
version
- 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.NfsVersion
public String getVersion()
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.
NFS3
, which indicates that the data repository must support the NFSv3 protocol.NfsVersion
public FileCacheNFSConfiguration withVersion(String version)
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.
version
- 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.NfsVersion
public FileCacheNFSConfiguration withVersion(NfsVersion version)
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.
version
- 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.NfsVersion
public List<String> getDnsIps()
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.
public void setDnsIps(Collection<String> dnsIps)
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.
dnsIps
- 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.public FileCacheNFSConfiguration withDnsIps(String... dnsIps)
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.
NOTE: This method appends the values to the existing list (if any). Use
setDnsIps(java.util.Collection)
or withDnsIps(java.util.Collection)
if you want to override the
existing values.
dnsIps
- 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.public FileCacheNFSConfiguration withDnsIps(Collection<String> dnsIps)
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.
dnsIps
- 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.public String toString()
toString
in class Object
Object.toString()
public FileCacheNFSConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.