@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()
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server.
|
String |
getDomain()
Specifies the Windows domain name that your SMB file server belongs to.
|
SmbMountOptions |
getMountOptions()
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
|
String |
getPassword()
Specifies the password of the user who can mount your SMB file server and has permission to access the files and
folders involved in your transfer.
|
String |
getServerHostname()
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will
mount.
|
String |
getSubdirectory()
Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
|
List<TagListEntry> |
getTags()
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
String |
getUser()
Specifies the user name that can mount your SMB file server and has permission to access the files and folders
involved in your transfer.
|
int |
hashCode() |
void |
setAgentArns(Collection<String> agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server.
|
void |
setDomain(String domain)
Specifies the Windows domain name that your SMB file server belongs to.
|
void |
setMountOptions(SmbMountOptions mountOptions)
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
|
void |
setPassword(String password)
Specifies the password of the user who can mount your SMB file server and has permission to access the files and
folders involved in your transfer.
|
void |
setServerHostname(String serverHostname)
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will
mount.
|
void |
setSubdirectory(String subdirectory)
Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
|
void |
setTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
void |
setUser(String user)
Specifies the user name that can mount your SMB file server and has permission to access the files and folders
involved in your transfer.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationSmbRequest |
withAgentArns(Collection<String> agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server.
|
CreateLocationSmbRequest |
withAgentArns(String... agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server.
|
CreateLocationSmbRequest |
withDomain(String domain)
Specifies the Windows domain name that your SMB file server belongs to.
|
CreateLocationSmbRequest |
withMountOptions(SmbMountOptions mountOptions)
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
|
CreateLocationSmbRequest |
withPassword(String password)
Specifies the password of the user who can mount your SMB file server and has permission to access the files and
folders involved in your transfer.
|
CreateLocationSmbRequest |
withServerHostname(String serverHostname)
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will
mount.
|
CreateLocationSmbRequest |
withSubdirectory(String subdirectory)
Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
|
CreateLocationSmbRequest |
withTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateLocationSmbRequest |
withTags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateLocationSmbRequest |
withUser(String user)
Specifies the user name that can mount your SMB file server and has permission to access the files and folders
involved in your transfer.
|
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 name of the share exported by your SMB file server where DataSync will read or write data. You can
include a subdirectory in the share path (for example, /path/to/subdirectory
). Make sure that other
SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
subdirectory
- Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
You can include a subdirectory in the share path (for example, /path/to/subdirectory
). Make
sure that other SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
public String getSubdirectory()
Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can
include a subdirectory in the share path (for example, /path/to/subdirectory
). Make sure that other
SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
/path/to/subdirectory
). Make
sure that other SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
public CreateLocationSmbRequest withSubdirectory(String subdirectory)
Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can
include a subdirectory in the share path (for example, /path/to/subdirectory
). Make sure that other
SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
subdirectory
- Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
You can include a subdirectory in the share path (for example, /path/to/subdirectory
). Make
sure that other SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
public void setServerHostname(String serverHostname)
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.
You can't specify an IP version 6 (IPv6) address.
serverHostname
- Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent
will mount. You can't specify an IP version 6 (IPv6) address.
public String getServerHostname()
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.
You can't specify an IP version 6 (IPv6) address.
You can't specify an IP version 6 (IPv6) address.
public CreateLocationSmbRequest withServerHostname(String serverHostname)
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.
You can't specify an IP version 6 (IPv6) address.
serverHostname
- Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent
will mount. You can't specify an IP version 6 (IPv6) address.
public void setUser(String user)
Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
user
- Specifies the user name that can mount your SMB file server and has permission to access the files and
folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
public String getUser()
Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
public CreateLocationSmbRequest withUser(String user)
Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
user
- Specifies the user name that can mount your SMB file server and has permission to access the files and
folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
public void setDomain(String domain)
Specifies the Windows domain name that your SMB file server belongs to.
For more information, see required permissions for SMB locations.
domain
- Specifies the Windows domain name that your SMB file server belongs to.
For more information, see required permissions for SMB locations.
public String getDomain()
Specifies the Windows domain name that your SMB file server belongs to.
For more information, see required permissions for SMB locations.
For more information, see required permissions for SMB locations.
public CreateLocationSmbRequest withDomain(String domain)
Specifies the Windows domain name that your SMB file server belongs to.
For more information, see required permissions for SMB locations.
domain
- Specifies the Windows domain name that your SMB file server belongs to.
For more information, see required permissions for SMB locations.
public void setPassword(String password)
Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For more information, see required permissions for SMB locations.
password
- Specifies the password of the user who can mount your SMB file server and has permission to access the
files and folders involved in your transfer.
For more information, see required permissions for SMB locations.
public String getPassword()
Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For more information, see required permissions for SMB locations.
For more information, see required permissions for SMB locations.
public CreateLocationSmbRequest withPassword(String password)
Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For more information, see required permissions for SMB locations.
password
- Specifies the password of the user who can mount your SMB file server and has permission to access the
files and folders involved in your transfer.
For more information, see required permissions for SMB locations.
public List<String> getAgentArns()
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
public void setAgentArns(Collection<String> agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
agentArns
- Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an
agent by using its Amazon Resource Name (ARN).public CreateLocationSmbRequest withAgentArns(String... agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
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
- Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an
agent by using its Amazon Resource Name (ARN).public CreateLocationSmbRequest withAgentArns(Collection<String> agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
agentArns
- Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an
agent by using its Amazon Resource Name (ARN).public void setMountOptions(SmbMountOptions mountOptions)
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
mountOptions
- Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.public SmbMountOptions getMountOptions()
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
public CreateLocationSmbRequest withMountOptions(SmbMountOptions mountOptions)
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
mountOptions
- Specifies the version of the SMB protocol that DataSync uses to access your SMB 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 CreateLocationSmbRequest 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 CreateLocationSmbRequest 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 CreateLocationSmbRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()