@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLocationSmbRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLocationSmbRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLocationSmbRequest |
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.
|
String |
getLocationArn()
Specifies the ARN of the SMB location that you want to update.
|
SmbMountOptions |
getMountOptions() |
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 |
getSubdirectory()
Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
|
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 |
setLocationArn(String locationArn)
Specifies the ARN of the SMB location that you want to update.
|
void |
setMountOptions(SmbMountOptions mountOptions) |
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 |
setSubdirectory(String subdirectory)
Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
|
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.
|
UpdateLocationSmbRequest |
withAgentArns(Collection<String> agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server.
|
UpdateLocationSmbRequest |
withAgentArns(String... agentArns)
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server.
|
UpdateLocationSmbRequest |
withDomain(String domain)
Specifies the Windows domain name that your SMB file server belongs to.
|
UpdateLocationSmbRequest |
withLocationArn(String locationArn)
Specifies the ARN of the SMB location that you want to update.
|
UpdateLocationSmbRequest |
withMountOptions(SmbMountOptions mountOptions) |
UpdateLocationSmbRequest |
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.
|
UpdateLocationSmbRequest |
withSubdirectory(String subdirectory)
Specifies the name of the share exported by your SMB file server where DataSync will read or write data.
|
UpdateLocationSmbRequest |
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 setLocationArn(String locationArn)
Specifies the ARN of the SMB location that you want to update.
locationArn
- Specifies the ARN of the SMB location that you want to update.public String getLocationArn()
Specifies the ARN of the SMB location that you want to update.
public UpdateLocationSmbRequest withLocationArn(String locationArn)
Specifies the ARN of the SMB location that you want to update.
locationArn
- Specifies the ARN of the SMB location that you want to update.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 UpdateLocationSmbRequest 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 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 UpdateLocationSmbRequest 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.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
domain
- Specifies the Windows domain name that your SMB file server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
public String getDomain()
Specifies the Windows domain name that your SMB file server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
public UpdateLocationSmbRequest withDomain(String domain)
Specifies the Windows domain name that your SMB file server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
domain
- Specifies the Windows domain name that your SMB file server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
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 UpdateLocationSmbRequest 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 UpdateLocationSmbRequest 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 UpdateLocationSmbRequest 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)
mountOptions
- public SmbMountOptions getMountOptions()
public UpdateLocationSmbRequest withMountOptions(SmbMountOptions mountOptions)
mountOptions
- public String toString()
toString
in class Object
Object.toString()
public UpdateLocationSmbRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()