Class CIFSMountConfiguration
java.lang.Object
com.microsoft.azure.management.batch.CIFSMountConfiguration
Information used to connect to a CIFS file system.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet these are 'net use' options in Windows and 'mount' options in Linux.password()
Get the password value.Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.source()
Get the source value.username()
Get the username value.withMountOptions
(String mountOptions) Set these are 'net use' options in Windows and 'mount' options in Linux.withPassword
(String password) Set the password value.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.withSource
(String source) Set the source value.withUsername
(String username) Set the username value.
-
Constructor Details
-
CIFSMountConfiguration
public CIFSMountConfiguration()
-
-
Method Details
-
username
Get the username value.- Returns:
- the username value
-
withUsername
Set the username value.- Parameters:
username
- the username value to set- Returns:
- the CIFSMountConfiguration object itself.
-
source
Get the source value.- Returns:
- the source value
-
withSource
Set the source value.- Parameters:
source
- the source value to set- Returns:
- the CIFSMountConfiguration object itself.
-
relativeMountPath
Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.- Returns:
- the relativeMountPath value
-
withRelativeMountPath
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.- Parameters:
relativeMountPath
- the relativeMountPath value to set- Returns:
- the CIFSMountConfiguration object itself.
-
mountOptions
Get these are 'net use' options in Windows and 'mount' options in Linux.- Returns:
- the mountOptions value
-
withMountOptions
Set these are 'net use' options in Windows and 'mount' options in Linux.- Parameters:
mountOptions
- the mountOptions value to set- Returns:
- the CIFSMountConfiguration object itself.
-
password
Get the password value.- Returns:
- the password value
-
withPassword
Set the password value.- Parameters:
password
- the password value to set- Returns:
- the CIFSMountConfiguration object itself.
-