public static interface UpdateLocationNfsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateLocationNfsRequest.Builder,UpdateLocationNfsRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateLocationNfsRequest.Builder |
locationArn(String locationArn)
The Amazon Resource Name (ARN) of the NFS location to update.
|
default UpdateLocationNfsRequest.Builder |
mountOptions(Consumer<NfsMountOptions.Builder> mountOptions)
Sets the value of the MountOptions property for this object.
|
UpdateLocationNfsRequest.Builder |
mountOptions(NfsMountOptions mountOptions)
Sets the value of the MountOptions property for this object.
|
default UpdateLocationNfsRequest.Builder |
onPremConfig(Consumer<OnPremConfig.Builder> onPremConfig)
Sets the value of the OnPremConfig property for this object.
|
UpdateLocationNfsRequest.Builder |
onPremConfig(OnPremConfig onPremConfig)
Sets the value of the OnPremConfig property for this object.
|
UpdateLocationNfsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateLocationNfsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateLocationNfsRequest.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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateLocationNfsRequest.Builder locationArn(String locationArn)
The Amazon Resource Name (ARN) of the NFS location to update.
locationArn - The Amazon Resource Name (ARN) of the NFS location to update.UpdateLocationNfsRequest.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 that you specified, DataSync must have permissions to read all the
data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the
files you want DataSync to access have permissions that allow read access for all users. Doing either option
enables the agent to read the files. For the agent to access directories, you must additionally enable all
execute access.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux 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 that you specified, DataSync must have permissions to read all
the data. To ensure this, either configure the NFS export with no_root_squash, or ensure
that the files you want DataSync to access have permissions that allow read access for all users.
Doing either option enables the agent to read the files. For the agent to access directories, you must
additionally enable all execute access.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.
UpdateLocationNfsRequest.Builder onPremConfig(OnPremConfig onPremConfig)
onPremConfig - The new value for the OnPremConfig property for this object.default UpdateLocationNfsRequest.Builder onPremConfig(Consumer<OnPremConfig.Builder> onPremConfig)
OnPremConfig.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.BuilderonPremConfig(OnPremConfig)UpdateLocationNfsRequest.Builder mountOptions(NfsMountOptions mountOptions)
mountOptions - The new value for the MountOptions property for this object.default UpdateLocationNfsRequest.Builder mountOptions(Consumer<NfsMountOptions.Builder> mountOptions)
NfsMountOptions.Builder avoiding the
need to create one manually via NfsMountOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to mountOptions(NfsMountOptions).
mountOptions - a consumer that will call methods on NfsMountOptions.BuildermountOptions(NfsMountOptions)UpdateLocationNfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateLocationNfsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.