CIFSMountConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.CIFSMountConfiguration

public class CIFSMountConfiguration

Information used to connect to a CIFS file system.

Constructor Summary

Constructor Description
CIFSMountConfiguration()

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.

CIFSMountConfiguration withMountOptions(String mountOptions)

Set these are 'net use' options in Windows and 'mount' options in Linux.

CIFSMountConfiguration withPassword(String password)

Set the password value.

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.

CIFSMountConfiguration withSource(String source)

Set the source value.

CIFSMountConfiguration withUsername(String username)

Set the username value.

Methods inherited from java.lang.Object

Constructor Details

CIFSMountConfiguration

public CIFSMountConfiguration()

Method Details

mountOptions

public String mountOptions()

Get these are 'net use' options in Windows and 'mount' options in Linux.

Returns:

the mountOptions value

password

public String password()

Get the password value.

Returns:

the password value

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:

the relativeMountPath value

source

public String source()

Get the source value.

Returns:

the source value

username

public String username()

Get the username value.

Returns:

the username value

withMountOptions

public CIFSMountConfiguration withMountOptions(String mountOptions)

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.

withPassword

public CIFSMountConfiguration withPassword(String password)

Set the password value.

Parameters:

password - the password value to set

Returns:

the CIFSMountConfiguration object itself.

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:

relativeMountPath - the relativeMountPath value to set

Returns:

the CIFSMountConfiguration object itself.

withSource

public CIFSMountConfiguration withSource(String source)

Set the source value.

Parameters:

source - the source value to set

Returns:

the CIFSMountConfiguration object itself.

withUsername

public CIFSMountConfiguration withUsername(String username)

Set the username value.

Parameters:

username - the username value to set

Returns:

the CIFSMountConfiguration object itself.

Applies to