Class NFSMountConfiguration
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.NFSMountConfiguration
-
public class NFSMountConfiguration extends Object
Information used to connect to an NFS file system.
-
-
Constructor Summary
Constructors Constructor Description NFSMountConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.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.NFSMountConfiguration
withMountOptions(String mountOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux.NFSMountConfiguration
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.NFSMountConfiguration
withSource(String source)
Set the source value.
-
-
-
Method Detail
-
source
public String source()
Get the source value.- Returns:
- the source value
-
withSource
public NFSMountConfiguration withSource(String source)
Set the source value.- Parameters:
source
- the source value to set- Returns:
- the NFSMountConfiguration object itself.
-
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
-
withRelativeMountPath
public NFSMountConfiguration 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 NFSMountConfiguration object itself.
-
mountOptions
public String mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.- Returns:
- the mountOptions value
-
withMountOptions
public NFSMountConfiguration 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 NFSMountConfiguration object itself.
-
-