@Generated(value="software.amazon.awssdk:codegen") public final class CreateLocationNfsRequest extends DataSyncRequest implements ToCopyableBuilder<CreateLocationNfsRequest.Builder,CreateLocationNfsRequest>
CreateLocationNfsRequest
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateLocationNfsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateLocationNfsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
NfsMountOptions |
mountOptions()
The NFS mount options that DataSync can use to mount your NFS share.
|
OnPremConfig |
onPremConfig()
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateLocationNfsRequest.Builder> |
serializableBuilderClass() |
String |
serverHostname()
The name of the NFS server.
|
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.
|
List<TagListEntry> |
tags()
The key-value pair that represents the tag that you want to add to the location.
|
CreateLocationNfsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 DataSync 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.
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.
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 DataSync 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.
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.
public final 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.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
public final OnPremConfig onPremConfig()
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
public final NfsMountOptions mountOptions()
The NFS mount options that DataSync can use to mount your NFS share.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public CreateLocationNfsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateLocationNfsRequest.Builder,CreateLocationNfsRequest>toBuilder in class DataSyncRequestpublic static CreateLocationNfsRequest.Builder builder()
public static Class<? extends CreateLocationNfsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.