CIFSMountConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. batch. CIFSMountConfiguration
- com.
public class CIFSMountConfiguration
Information used to connect to a CIFS file system.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux. |
String |
password()
Get the password value. |
String |
relativeMountPath()
Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. |
String |
source()
Get the source value. |
String |
username()
Get the username value. |
CIFSMount |
withMountOptions(String mountOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux. |
CIFSMount |
withPassword(String password)
Set the password value. |
CIFSMount |
withRelativeMountPath(String relativeMountPath)
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. |
CIFSMount |
withSource(String source)
Set the source value. |
CIFSMount |
withUsername(String username)
Set the username value. |
Method Details
mountOptions
public String mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.
Returns:
password
public String password()
Get the password value.
Returns:
relativeMountPath
public String relativeMountPath()
Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Returns:
source
public String source()
Get the source value.
Returns:
username
public String username()
Get the username value.
Returns:
withMountOptions
public CIFSMountConfiguration withMountOptions(String mountOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux.
Parameters:
Returns:
withPassword
public CIFSMountConfiguration withPassword(String password)
Set the password value.
Parameters:
Returns:
withRelativeMountPath
public CIFSMountConfiguration withRelativeMountPath(String relativeMountPath)
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Parameters:
Returns:
withSource
public CIFSMountConfiguration withSource(String source)
Set the source value.
Parameters:
Returns:
withUsername
public CIFSMountConfiguration withUsername(String username)
Set the username value.
Parameters:
Returns:
Applies to
Azure SDK for Java