Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch;
import com.fasterxml.jackson.annotation.JsonProperty;
Information used to connect to an NFS file system.
/**
* Information used to connect to an NFS file system.
*/
public class NFSMountConfiguration {
The URI of the file system to mount.
/**
* The URI of the file system to mount.
*/
@JsonProperty(value = "source", required = true)
private String source;
The relative path on the compute node where the file system will be
mounted.
All file systems are mounted relative to the Batch mounts directory,
accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
/**
* The relative path on the compute node where the file system will be
* mounted.
* All file systems are mounted relative to the Batch mounts directory,
* accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
*/
@JsonProperty(value = "relativeMountPath", required = true)
private String relativeMountPath;
Additional command line options to pass to the mount command.
These are 'net use' options in Windows and 'mount' options in Linux.
/**
* Additional command line options to pass to the mount command.
* These are 'net use' options in Windows and 'mount' options in Linux.
*/
@JsonProperty(value = "mountOptions")
private String mountOptions;
Get the source value.
Returns: the source value
/**
* Get the source value.
*
* @return the source value
*/
public String source() {
return this.source;
}
Set the source value.
Params: - source – the source value to set
Returns: the NFSMountConfiguration object itself.
/**
* Set the source value.
*
* @param source the source value to set
* @return the NFSMountConfiguration object itself.
*/
public NFSMountConfiguration withSource(String source) {
this.source = source;
return this;
}
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
/**
* Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
*
* @return the relativeMountPath value
*/
public String relativeMountPath() {
return this.relativeMountPath;
}
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Params: - relativeMountPath – the relativeMountPath value to set
Returns: the NFSMountConfiguration object itself.
/**
* Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
*
* @param relativeMountPath the relativeMountPath value to set
* @return the NFSMountConfiguration object itself.
*/
public NFSMountConfiguration withRelativeMountPath(String relativeMountPath) {
this.relativeMountPath = relativeMountPath;
return this;
}
Get these are 'net use' options in Windows and 'mount' options in Linux.
Returns: the mountOptions value
/**
* Get these are 'net use' options in Windows and 'mount' options in Linux.
*
* @return the mountOptions value
*/
public String mountOptions() {
return this.mountOptions;
}
Set these are 'net use' options in Windows and 'mount' options in Linux.
Params: - mountOptions – the mountOptions value to set
Returns: the NFSMountConfiguration object itself.
/**
* Set these are 'net use' options in Windows and 'mount' options in Linux.
*
* @param mountOptions the mountOptions value to set
* @return the NFSMountConfiguration object itself.
*/
public NFSMountConfiguration withMountOptions(String mountOptions) {
this.mountOptions = mountOptions;
return this;
}
}