
com.pulumi.azurenative.batch.outputs.NFSMountConfigurationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.batch.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NFSMountConfigurationResponse {
/**
* @return These are 'net use' options in Windows and 'mount' options in Linux.
*
*/
private @Nullable String mountOptions;
/**
* @return All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
*
*/
private String relativeMountPath;
private String source;
private NFSMountConfigurationResponse() {}
/**
* @return These are 'net use' options in Windows and 'mount' options in Linux.
*
*/
public Optional mountOptions() {
return Optional.ofNullable(this.mountOptions);
}
/**
* @return 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;
}
public String source() {
return this.source;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NFSMountConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String mountOptions;
private String relativeMountPath;
private String source;
public Builder() {}
public Builder(NFSMountConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.mountOptions = defaults.mountOptions;
this.relativeMountPath = defaults.relativeMountPath;
this.source = defaults.source;
}
@CustomType.Setter
public Builder mountOptions(@Nullable String mountOptions) {
this.mountOptions = mountOptions;
return this;
}
@CustomType.Setter
public Builder relativeMountPath(String relativeMountPath) {
if (relativeMountPath == null) {
throw new MissingRequiredPropertyException("NFSMountConfigurationResponse", "relativeMountPath");
}
this.relativeMountPath = relativeMountPath;
return this;
}
@CustomType.Setter
public Builder source(String source) {
if (source == null) {
throw new MissingRequiredPropertyException("NFSMountConfigurationResponse", "source");
}
this.source = source;
return this;
}
public NFSMountConfigurationResponse build() {
final var _resultValue = new NFSMountConfigurationResponse();
_resultValue.mountOptions = mountOptions;
_resultValue.relativeMountPath = relativeMountPath;
_resultValue.source = source;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy