Interface NFSDataRepositoryConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NFSDataRepositoryConfiguration.Builder,NFSDataRepositoryConfiguration>,SdkBuilder<NFSDataRepositoryConfiguration.Builder,NFSDataRepositoryConfiguration>,SdkPojo
- Enclosing class:
- NFSDataRepositoryConfiguration
public static interface NFSDataRepositoryConfiguration.Builder extends SdkPojo, CopyableBuilder<NFSDataRepositoryConfiguration.Builder,NFSDataRepositoryConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NFSDataRepositoryConfiguration.BuilderautoExportPolicy(Consumer<AutoExportPolicy.Builder> autoExportPolicy)This parameter is not supported for Amazon File Cache.NFSDataRepositoryConfiguration.BuilderautoExportPolicy(AutoExportPolicy autoExportPolicy)This parameter is not supported for Amazon File Cache.NFSDataRepositoryConfiguration.BuilderdnsIps(String... dnsIps)A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.NFSDataRepositoryConfiguration.BuilderdnsIps(Collection<String> dnsIps)A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name.NFSDataRepositoryConfiguration.Builderversion(String version)The version of the NFS (Network File System) protocol of the NFS data repository.NFSDataRepositoryConfiguration.Builderversion(NfsVersion version)The version of the NFS (Network File System) protocol of the NFS data repository.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
version
NFSDataRepositoryConfiguration.Builder version(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.- Parameters:
version- The version of the NFS (Network File System) protocol of the NFS data repository. Currently, the only supported value isNFS3, which indicates that the data repository must support the NFSv3 protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NfsVersion,NfsVersion
-
version
NFSDataRepositoryConfiguration.Builder version(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.- Parameters:
version- The version of the NFS (Network File System) protocol of the NFS data repository. Currently, the only supported value isNFS3, which indicates that the data repository must support the NFSv3 protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NfsVersion,NfsVersion
-
dnsIps
NFSDataRepositoryConfiguration.Builder dnsIps(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsIps
NFSDataRepositoryConfiguration.Builder dnsIps(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoExportPolicy
NFSDataRepositoryConfiguration.Builder autoExportPolicy(AutoExportPolicy autoExportPolicy)
This parameter is not supported for Amazon File Cache.
- Parameters:
autoExportPolicy- This parameter is not supported for Amazon File Cache.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoExportPolicy
default NFSDataRepositoryConfiguration.Builder autoExportPolicy(Consumer<AutoExportPolicy.Builder> autoExportPolicy)
This parameter is not supported for Amazon File Cache.
This is a convenience method that creates an instance of theAutoExportPolicy.Builderavoiding the need to create one manually viaAutoExportPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoExportPolicy(AutoExportPolicy).- Parameters:
autoExportPolicy- a consumer that will call methods onAutoExportPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoExportPolicy(AutoExportPolicy)
-
-