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 a CIFS file system.
/** * Information used to connect to a CIFS file system. */
public class CIFSMountConfiguration {
The user to use for authentication against the CIFS file system.
/** * The user to use for authentication against the CIFS file system. */
@JsonProperty(value = "username", required = true) private String username;
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;
The password to use for authentication against the CIFS file system.
/** * The password to use for authentication against the CIFS file system. */
@JsonProperty(value = "password", required = true) private String password;
Get the username value.
Returns:the username value
/** * Get the username value. * * @return the username value */
public String username() { return this.username; }
Set the username value.
Params:
  • username – the username value to set
Returns:the CIFSMountConfiguration object itself.
/** * Set the username value. * * @param username the username value to set * @return the CIFSMountConfiguration object itself. */
public CIFSMountConfiguration withUsername(String username) { this.username = username; return this; }
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 CIFSMountConfiguration object itself.
/** * Set the source value. * * @param source the source value to set * @return the CIFSMountConfiguration object itself. */
public CIFSMountConfiguration 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 CIFSMountConfiguration 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 CIFSMountConfiguration object itself. */
public CIFSMountConfiguration 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 CIFSMountConfiguration object itself.
/** * Set these are 'net use' options in Windows and 'mount' options in Linux. * * @param mountOptions the mountOptions value to set * @return the CIFSMountConfiguration object itself. */
public CIFSMountConfiguration withMountOptions(String mountOptions) { this.mountOptions = mountOptions; return this; }
Get the password value.
Returns:the password value
/** * Get the password value. * * @return the password value */
public String password() { return this.password; }
Set the password value.
Params:
  • password – the password value to set
Returns:the CIFSMountConfiguration object itself.
/** * Set the password value. * * @param password the password value to set * @return the CIFSMountConfiguration object itself. */
public CIFSMountConfiguration withPassword(String password) { this.password = password; return this; } }