com.pulumi.azure.batch.outputs.GetPoolMountNfsMount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.batch.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetPoolMountNfsMount {
/**
* @return Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
*
*/
private String mountOptions;
/**
* @return The relative path on 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.
*
*/
private String relativeMountPath;
/**
* @return The URI of the file system to mount.
*
*/
private String source;
private GetPoolMountNfsMount() {}
/**
* @return Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
*
*/
public String mountOptions() {
return this.mountOptions;
}
/**
* @return The relative path on 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.
*
*/
public String relativeMountPath() {
return this.relativeMountPath;
}
/**
* @return The URI of the file system to mount.
*
*/
public String source() {
return this.source;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPoolMountNfsMount defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String mountOptions;
private String relativeMountPath;
private String source;
public Builder() {}
public Builder(GetPoolMountNfsMount defaults) {
Objects.requireNonNull(defaults);
this.mountOptions = defaults.mountOptions;
this.relativeMountPath = defaults.relativeMountPath;
this.source = defaults.source;
}
@CustomType.Setter
public Builder mountOptions(String mountOptions) {
if (mountOptions == null) {
throw new MissingRequiredPropertyException("GetPoolMountNfsMount", "mountOptions");
}
this.mountOptions = mountOptions;
return this;
}
@CustomType.Setter
public Builder relativeMountPath(String relativeMountPath) {
if (relativeMountPath == null) {
throw new MissingRequiredPropertyException("GetPoolMountNfsMount", "relativeMountPath");
}
this.relativeMountPath = relativeMountPath;
return this;
}
@CustomType.Setter
public Builder source(String source) {
if (source == null) {
throw new MissingRequiredPropertyException("GetPoolMountNfsMount", "source");
}
this.source = source;
return this;
}
public GetPoolMountNfsMount build() {
final var _resultValue = new GetPoolMountNfsMount();
_resultValue.mountOptions = mountOptions;
_resultValue.relativeMountPath = relativeMountPath;
_resultValue.source = source;
return _resultValue;
}
}
}