@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLocationSmbRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateLocationSmbRequest
NOOP
Constructor and Description |
---|
CreateLocationSmbRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLocationSmbRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAgentArns()
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
|
String |
getDomain()
The name of the Windows domain that the SMB server belongs to.
|
SmbMountOptions |
getMountOptions()
The mount options used by DataSync to access the SMB server.
|
String |
getPassword()
The password of the user who can mount the share, has the permissions to access files and folders in the SMB
share.
|
String |
getServerHostname()
The name of the SMB server.
|
String |
getSubdirectory()
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to
the SMB destination.
|
List<TagListEntry> |
getTags()
The key-value pair that represents the tag that you want to add to the location.
|
String |
getUser()
The user who can mount the share, has the permissions to access files and folders in the SMB share.
|
int |
hashCode() |
void |
setAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
|
void |
setDomain(String domain)
The name of the Windows domain that the SMB server belongs to.
|
void |
setMountOptions(SmbMountOptions mountOptions)
The mount options used by DataSync to access the SMB server.
|
void |
setPassword(String password)
The password of the user who can mount the share, has the permissions to access files and folders in the SMB
share.
|
void |
setServerHostname(String serverHostname)
The name of the SMB server.
|
void |
setSubdirectory(String subdirectory)
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to
the SMB destination.
|
void |
setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location.
|
void |
setUser(String user)
The user who can mount the share, has the permissions to access files and folders in the SMB share.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationSmbRequest |
withAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
|
CreateLocationSmbRequest |
withAgentArns(String... agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
|
CreateLocationSmbRequest |
withDomain(String domain)
The name of the Windows domain that the SMB server belongs to.
|
CreateLocationSmbRequest |
withMountOptions(SmbMountOptions mountOptions)
The mount options used by DataSync to access the SMB server.
|
CreateLocationSmbRequest |
withPassword(String password)
The password of the user who can mount the share, has the permissions to access files and folders in the SMB
share.
|
CreateLocationSmbRequest |
withServerHostname(String serverHostname)
The name of the SMB server.
|
CreateLocationSmbRequest |
withSubdirectory(String subdirectory)
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to
the SMB destination.
|
CreateLocationSmbRequest |
withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location.
|
CreateLocationSmbRequest |
withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the location.
|
CreateLocationSmbRequest |
withUser(String user)
The user who can mount the share, has the permissions to access files and folders in the SMB share.
|
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 SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.
Subdirectory
must be specified with forward slashes. For example, /path/to/folder
.
To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.
subdirectory
- The subdirectory in the SMB file system that is used to read data from the SMB source location or write
data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a
subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your
network.
Subdirectory
must be specified with forward slashes. For example,
/path/to/folder
.
To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.
public String getSubdirectory()
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.
Subdirectory
must be specified with forward slashes. For example, /path/to/folder
.
To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.
Subdirectory
must be specified with forward slashes. For example,
/path/to/folder
.
To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.
public CreateLocationSmbRequest withSubdirectory(String subdirectory)
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.
Subdirectory
must be specified with forward slashes. For example, /path/to/folder
.
To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.
subdirectory
- The subdirectory in the SMB file system that is used to read data from the SMB source location or write
data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a
subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your
network.
Subdirectory
must be specified with forward slashes. For example,
/path/to/folder
.
To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.
public void setServerHostname(String serverHostname)
The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB server in a network.
This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
serverHostname
- The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB
server. An agent that is installed on-premises uses this hostname to mount the SMB server in a
network. This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
public String getServerHostname()
The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB server in a network.
This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
public CreateLocationSmbRequest withServerHostname(String serverHostname)
The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB server in a network.
This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
serverHostname
- The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB
server. An agent that is installed on-premises uses this hostname to mount the SMB server in a
network. This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.
public void setUser(String user)
The user who can mount the share, has the permissions to access files and folders in the SMB share.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
user
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
public String getUser()
The user who can mount the share, has the permissions to access files and folders in the SMB share.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
public CreateLocationSmbRequest withUser(String user)
The user who can mount the share, has the permissions to access files and folders in the SMB share.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
user
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
public void setDomain(String domain)
The name of the Windows domain that the SMB server belongs to.
domain
- The name of the Windows domain that the SMB server belongs to.public String getDomain()
The name of the Windows domain that the SMB server belongs to.
public CreateLocationSmbRequest withDomain(String domain)
The name of the Windows domain that the SMB server belongs to.
domain
- The name of the Windows domain that the SMB server belongs to.public void setPassword(String password)
The password of the user who can mount the share, has the permissions to access files and folders in the SMB share.
password
- The password of the user who can mount the share, has the permissions to access files and folders in the
SMB share.public String getPassword()
The password of the user who can mount the share, has the permissions to access files and folders in the SMB share.
public CreateLocationSmbRequest withPassword(String password)
The password of the user who can mount the share, has the permissions to access files and folders in the SMB share.
password
- The password of the user who can mount the share, has the permissions to access files and folders in the
SMB share.public List<String> getAgentArns()
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
public void setAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
agentArns
- The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.public CreateLocationSmbRequest withAgentArns(String... agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
NOTE: This method appends the values to the existing list (if any). Use
setAgentArns(java.util.Collection)
or withAgentArns(java.util.Collection)
if you want to
override the existing values.
agentArns
- The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.public CreateLocationSmbRequest withAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
agentArns
- The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.public void setMountOptions(SmbMountOptions mountOptions)
The mount options used by DataSync to access the SMB server.
mountOptions
- The mount options used by DataSync to access the SMB server.public SmbMountOptions getMountOptions()
The mount options used by DataSync to access the SMB server.
public CreateLocationSmbRequest withMountOptions(SmbMountOptions mountOptions)
The mount options used by DataSync to access the SMB server.
mountOptions
- The mount options used by DataSync to access the SMB server.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 CreateLocationSmbRequest 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 CreateLocationSmbRequest 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 CreateLocationSmbRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()