@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLocationNfsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateLocationNfsRequest
NOOP
Constructor and Description |
---|
CreateLocationNfsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLocationNfsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
NfsMountOptions |
getMountOptions()
The NFS mount options that DataSync can use to mount your NFS share.
|
OnPremConfig |
getOnPremConfig()
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
|
String |
getServerHostname()
The name of the NFS server.
|
String |
getSubdirectory()
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> |
getTags()
The key-value pair that represents the tag that you want to add to the location.
|
int |
hashCode() |
void |
setMountOptions(NfsMountOptions mountOptions)
The NFS mount options that DataSync can use to mount your NFS share.
|
void |
setOnPremConfig(OnPremConfig onPremConfig)
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
|
void |
setServerHostname(String serverHostname)
The name of the NFS server.
|
void |
setSubdirectory(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.
|
void |
setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationNfsRequest |
withMountOptions(NfsMountOptions mountOptions)
The NFS mount options that DataSync can use to mount your NFS share.
|
CreateLocationNfsRequest |
withOnPremConfig(OnPremConfig onPremConfig)
Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
|
CreateLocationNfsRequest |
withServerHostname(String serverHostname)
The name of the NFS server.
|
CreateLocationNfsRequest |
withSubdirectory(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 |
withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location.
|
CreateLocationNfsRequest |
withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the location.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSubdirectory(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.
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.
public String getSubdirectory()
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 CreateLocationNfsRequest withSubdirectory(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.
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.
public void setServerHostname(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.
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.
public String getServerHostname()
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 CreateLocationNfsRequest withServerHostname(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.
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.
public void setOnPremConfig(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.
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.
public OnPremConfig getOnPremConfig()
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 CreateLocationNfsRequest withOnPremConfig(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.
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.
public void setMountOptions(NfsMountOptions mountOptions)
The NFS mount options that DataSync can use to mount your NFS share.
mountOptions
- The NFS mount options that DataSync can use to mount your NFS share.public NfsMountOptions getMountOptions()
The NFS mount options that DataSync can use to mount your NFS share.
public CreateLocationNfsRequest withMountOptions(NfsMountOptions mountOptions)
The NFS mount options that DataSync can use to mount your NFS share.
mountOptions
- The NFS mount options that DataSync can use to mount your NFS share.public List<TagListEntry> getTags()
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.
public void setTags(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.public CreateLocationNfsRequest withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.public CreateLocationNfsRequest withTags(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.public String toString()
toString
in class Object
Object.toString()
public CreateLocationNfsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()