@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()
Specifies the mount options that DataSync can use to mount your NFS share.
|
OnPremConfig |
getOnPremConfig()
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
|
String |
getServerHostname()
Specifies the IP address or domain name of your NFS file server.
|
String |
getSubdirectory()
Specifies the subdirectory in the NFS file server that DataSync transfers to or from.
|
List<TagListEntry> |
getTags()
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
int |
hashCode() |
void |
setMountOptions(NfsMountOptions mountOptions)
Specifies the mount options that DataSync can use to mount your NFS share.
|
void |
setOnPremConfig(OnPremConfig onPremConfig)
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
|
void |
setServerHostname(String serverHostname)
Specifies the IP address or domain name of your NFS file server.
|
void |
setSubdirectory(String subdirectory)
Specifies the subdirectory in the NFS file server that DataSync transfers to or from.
|
void |
setTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationNfsRequest |
withMountOptions(NfsMountOptions mountOptions)
Specifies the mount options that DataSync can use to mount your NFS share.
|
CreateLocationNfsRequest |
withOnPremConfig(OnPremConfig onPremConfig)
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
|
CreateLocationNfsRequest |
withServerHostname(String serverHostname)
Specifies the IP address or domain name of your NFS file server.
|
CreateLocationNfsRequest |
withSubdirectory(String subdirectory)
Specifies the subdirectory in the NFS file server that DataSync transfers to or from.
|
CreateLocationNfsRequest |
withTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateLocationNfsRequest |
withTags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
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)
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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.
subdirectory
- Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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.
public String getSubdirectory()
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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.
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.
public CreateLocationNfsRequest withSubdirectory(String subdirectory)
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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.
subdirectory
- Specifies the subdirectory in the NFS file server that DataSync transfers to or from. 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.
public void setServerHostname(String serverHostname)
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname 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.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
serverHostname
- Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises
uses this hostname 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.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
public String getServerHostname()
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname 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.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
public CreateLocationNfsRequest withServerHostname(String serverHostname)
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname 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.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
serverHostname
- Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises
uses this hostname 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.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
public void setOnPremConfig(OnPremConfig onPremConfig)
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
onPremConfig
- Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file
server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
public OnPremConfig getOnPremConfig()
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file 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)
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
onPremConfig
- Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file
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)
Specifies the mount options that DataSync can use to mount your NFS share.
mountOptions
- Specifies the mount options that DataSync can use to mount your NFS share.public NfsMountOptions getMountOptions()
Specifies the mount options that DataSync can use to mount your NFS share.
public CreateLocationNfsRequest withMountOptions(NfsMountOptions mountOptions)
Specifies the mount options that DataSync can use to mount your NFS share.
mountOptions
- Specifies the mount options that DataSync can use to mount your NFS share.public List<TagListEntry> getTags()
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
public void setTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least a name tag for your location.public CreateLocationNfsRequest withTags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
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
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least a name tag for your location.public CreateLocationNfsRequest withTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least a name tag for your location.public String toString()
toString
in class Object
Object.toString()
public CreateLocationNfsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()