@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 options that DataSync can use to mount your NFS file server.
|
OnPremConfig |
getOnPremConfig()
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
|
String |
getServerHostname()
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync
agent connects to.
|
String |
getSubdirectory()
Specifies the export path in your NFS file server that you want DataSync to mount.
|
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 options that DataSync can use to mount your NFS file server.
|
void |
setOnPremConfig(OnPremConfig onPremConfig)
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
|
void |
setServerHostname(String serverHostname)
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync
agent connects to.
|
void |
setSubdirectory(String subdirectory)
Specifies the export path in your NFS file server that you want DataSync to mount.
|
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 options that DataSync can use to mount your NFS file server.
|
CreateLocationNfsRequest |
withOnPremConfig(OnPremConfig onPremConfig)
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
|
CreateLocationNfsRequest |
withServerHostname(String serverHostname)
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync
agent connects to.
|
CreateLocationNfsRequest |
withSubdirectory(String subdirectory)
Specifies the export path in your NFS file server that you want DataSync to mount.
|
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 export path in your NFS file server that you want DataSync to mount.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
subdirectory
- Specifies the export path in your NFS file server that you want DataSync to mount.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
public String getSubdirectory()
Specifies the export path in your NFS file server that you want DataSync to mount.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
public CreateLocationNfsRequest withSubdirectory(String subdirectory)
Specifies the export path in your NFS file server that you want DataSync to mount.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
subdirectory
- Specifies the export path in your NFS file server that you want DataSync to mount.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
public void setServerHostname(String serverHostname)
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
serverHostname
- Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your
DataSync agent connects to.public String getServerHostname()
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
public CreateLocationNfsRequest withServerHostname(String serverHostname)
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
serverHostname
- Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your
DataSync agent connects to.public void setOnPremConfig(OnPremConfig onPremConfig)
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
onPremConfig
- Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file
server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
public OnPremConfig getOnPremConfig()
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
public CreateLocationNfsRequest withOnPremConfig(OnPremConfig onPremConfig)
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
onPremConfig
- Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file
server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
public void setMountOptions(NfsMountOptions mountOptions)
Specifies the options that DataSync can use to mount your NFS file server.
mountOptions
- Specifies the options that DataSync can use to mount your NFS file server.public NfsMountOptions getMountOptions()
Specifies the options that DataSync can use to mount your NFS file server.
public CreateLocationNfsRequest withMountOptions(NfsMountOptions mountOptions)
Specifies the options that DataSync can use to mount your NFS file server.
mountOptions
- Specifies the options that DataSync can use to mount your NFS file server.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()