public static interface CreateLocationNfsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateLocationNfsRequest.Builder,CreateLocationNfsRequest>
Modifier and Type | Method and Description |
---|---|
default CreateLocationNfsRequest.Builder |
onPremConfig(Consumer<OnPremConfig.Builder> onPremConfig)
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
|
CreateLocationNfsRequest.Builder |
onPremConfig(OnPremConfig onPremConfig)
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
|
CreateLocationNfsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateLocationNfsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateLocationNfsRequest.Builder |
serverHostname(String serverHostname)
The name of the NFS server.
|
CreateLocationNfsRequest.Builder |
subdirectory(String subdirectory)
The subdirectory in the NFS file system that is used to read data from the NFS source location or write data
to the NFS destination.
|
CreateLocationNfsRequest.Builder |
tags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location.
|
CreateLocationNfsRequest.Builder |
tags(Consumer<TagListEntry.Builder>... tags)
The key-value pair that represents the tag that you want to add to the location.
|
CreateLocationNfsRequest.Builder |
tags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the location.
|
build
overrideConfiguration
copy
applyMutation, build
CreateLocationNfsRequest.Builder subdirectory(String subdirectory)
The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.
To see all the paths exported by your NFS server. run "showmount -e nfs-server-name
" from an NFS
client that has access to your server. You can specify any directory that appears in the results, and any
subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.
To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the
data. To ensure this, either configure the NFS export with no_root_squash,
or ensure that the
permissions for all of the files that you want sync allow read access for all users. Doing either enables the
agent to read the files. For the agent to access directories, you must additionally enable all execute
access. For information about NFS export configuration, see 18.7. The
/etc/exports Configuration File in the Centos documentation.
subdirectory
- The subdirectory in the NFS file system that is used to read data from the NFS source location or
write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or
a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in
your network.
To see all the paths exported by your NFS server. run "showmount -e nfs-server-name
" from
an NFS client that has access to your server. You can specify any directory that appears in the
results, and any subdirectory of that directory. Ensure that the NFS export is accessible without
Kerberos authentication.
To transfer all the data in the folder you specified, DataSync needs to have permissions to read all
the data. To ensure this, either configure the NFS export with no_root_squash,
or ensure
that the permissions for all of the files that you want sync allow read access for all users. Doing
either enables the agent to read the files. For the agent to access directories, you must additionally
enable all execute access. For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Centos documentation.
CreateLocationNfsRequest.Builder serverHostname(String serverHostname)
The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network.
This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
serverHostname
- The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS
server. An agent that is installed on-premises uses this host name to mount the NFS server in a
network. This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
CreateLocationNfsRequest.Builder onPremConfig(OnPremConfig onPremConfig)
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
onPremConfig
- Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.default CreateLocationNfsRequest.Builder onPremConfig(Consumer<OnPremConfig.Builder> onPremConfig)
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
This is a convenience that creates an instance of theOnPremConfig.Builder
avoiding the need to
create one manually via OnPremConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to onPremConfig(OnPremConfig)
.onPremConfig
- a consumer that will call methods on OnPremConfig.Builder
onPremConfig(OnPremConfig)
CreateLocationNfsRequest.Builder tags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
tags
- The key-value pair that represents the tag that you want to add to the location. The value can be an
empty string. We recommend using tags to name your resources.CreateLocationNfsRequest.Builder tags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
tags
- The key-value pair that represents the tag that you want to add to the location. The value can be an
empty string. We recommend using tags to name your resources.CreateLocationNfsRequest.Builder tags(Consumer<TagListEntry.Builder>... tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateLocationNfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateLocationNfsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.