@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()
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.
|
String |
getLocationArn()
The Amazon Resource Name (ARN) of the SMB location to update.
|
SmbMountOptions |
getMountOptions() |
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 |
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.
|
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 |
setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the SMB location to update.
|
void |
setMountOptions(SmbMountOptions mountOptions) |
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 |
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 |
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.
|
UpdateLocationSmbRequest |
withAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
|
UpdateLocationSmbRequest |
withAgentArns(String... agentArns)
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
|
UpdateLocationSmbRequest |
withDomain(String domain)
The name of the Windows domain that the SMB server belongs to.
|
UpdateLocationSmbRequest |
withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the SMB location to update.
|
UpdateLocationSmbRequest |
withMountOptions(SmbMountOptions mountOptions) |
UpdateLocationSmbRequest |
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.
|
UpdateLocationSmbRequest |
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.
|
UpdateLocationSmbRequest |
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 setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the SMB location to update.
locationArn
- The Amazon Resource Name (ARN) of the SMB location to update.public String getLocationArn()
The Amazon Resource Name (ARN) of the SMB location to update.
public UpdateLocationSmbRequest withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the SMB location to update.
locationArn
- The Amazon Resource Name (ARN) of the SMB location to update.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 that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
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.
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also 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 that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
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.
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also 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 that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
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.
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.
Subdirectory
must be specified with forward slashes. For example,
/path/to/folder
.
To transfer all the data in the folder that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
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.
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.
public UpdateLocationSmbRequest 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 that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
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.
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also 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 that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
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.
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.
public void setUser(String user)
The user who can mount the share has the permissions to access files and folders in the SMB share.
user
- The user who can mount the share has the permissions to access files and folders in the SMB share.public String getUser()
The user who can mount the share has the permissions to access files and folders in the SMB share.
public UpdateLocationSmbRequest withUser(String user)
The user who can mount the share has the permissions to access files and folders in the SMB share.
user
- The user who can mount the share has the permissions to access files and folders in the SMB share.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 UpdateLocationSmbRequest 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 UpdateLocationSmbRequest 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 UpdateLocationSmbRequest 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 UpdateLocationSmbRequest 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)
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()