@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NFSDataRepositoryConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for a data repository association that links an Amazon File Cache resource to an NFS data repository.
Constructor and Description |
---|
NFSDataRepositoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
NFSDataRepositoryConfiguration |
clone() |
boolean |
equals(Object obj) |
AutoExportPolicy |
getAutoExportPolicy()
This parameter is not supported for Amazon File Cache.
|
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 |
setAutoExportPolicy(AutoExportPolicy autoExportPolicy)
This parameter is not supported for Amazon File Cache.
|
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.
|
NFSDataRepositoryConfiguration |
withAutoExportPolicy(AutoExportPolicy autoExportPolicy)
This parameter is not supported for Amazon File Cache.
|
NFSDataRepositoryConfiguration |
withDnsIps(Collection<String> dnsIps)
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.
|
NFSDataRepositoryConfiguration |
withDnsIps(String... dnsIps)
A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.
|
NFSDataRepositoryConfiguration |
withVersion(NfsVersion version)
The version of the NFS (Network File System) protocol of the NFS data repository.
|
NFSDataRepositoryConfiguration |
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. Currently, 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. Currently, 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. Currently, 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 NFSDataRepositoryConfiguration withVersion(String version)
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.
version
- 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.NfsVersion
public NFSDataRepositoryConfiguration withVersion(NfsVersion version)
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.
version
- 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.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 NFSDataRepositoryConfiguration 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 NFSDataRepositoryConfiguration 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 void setAutoExportPolicy(AutoExportPolicy autoExportPolicy)
This parameter is not supported for Amazon File Cache.
autoExportPolicy
- This parameter is not supported for Amazon File Cache.public AutoExportPolicy getAutoExportPolicy()
This parameter is not supported for Amazon File Cache.
public NFSDataRepositoryConfiguration withAutoExportPolicy(AutoExportPolicy autoExportPolicy)
This parameter is not supported for Amazon File Cache.
autoExportPolicy
- This parameter is not supported for Amazon File Cache.public String toString()
toString
in class Object
Object.toString()
public NFSDataRepositoryConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.