All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.batch.inputs.NFSMountConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class NFSMountConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final NFSMountConfigurationArgs Empty = new NFSMountConfigurationArgs();

    /**
     * These are 'net use' options in Windows and 'mount' options in Linux.
     * 
     */
    @Import(name="mountOptions")
    private @Nullable Output mountOptions;

    /**
     * @return These are 'net use' options in Windows and 'mount' options in Linux.
     * 
     */
    public Optional> mountOptions() {
        return Optional.ofNullable(this.mountOptions);
    }

    /**
     * All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
     * 
     */
    @Import(name="relativeMountPath", required=true)
    private Output relativeMountPath;

    /**
     * @return All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
     * 
     */
    public Output relativeMountPath() {
        return this.relativeMountPath;
    }

    @Import(name="source", required=true)
    private Output source;

    public Output source() {
        return this.source;
    }

    private NFSMountConfigurationArgs() {}

    private NFSMountConfigurationArgs(NFSMountConfigurationArgs $) {
        this.mountOptions = $.mountOptions;
        this.relativeMountPath = $.relativeMountPath;
        this.source = $.source;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(NFSMountConfigurationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private NFSMountConfigurationArgs $;

        public Builder() {
            $ = new NFSMountConfigurationArgs();
        }

        public Builder(NFSMountConfigurationArgs defaults) {
            $ = new NFSMountConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param mountOptions These are 'net use' options in Windows and 'mount' options in Linux.
         * 
         * @return builder
         * 
         */
        public Builder mountOptions(@Nullable Output mountOptions) {
            $.mountOptions = mountOptions;
            return this;
        }

        /**
         * @param mountOptions These are 'net use' options in Windows and 'mount' options in Linux.
         * 
         * @return builder
         * 
         */
        public Builder mountOptions(String mountOptions) {
            return mountOptions(Output.of(mountOptions));
        }

        /**
         * @param relativeMountPath All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
         * 
         * @return builder
         * 
         */
        public Builder relativeMountPath(Output relativeMountPath) {
            $.relativeMountPath = relativeMountPath;
            return this;
        }

        /**
         * @param relativeMountPath All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
         * 
         * @return builder
         * 
         */
        public Builder relativeMountPath(String relativeMountPath) {
            return relativeMountPath(Output.of(relativeMountPath));
        }

        public Builder source(Output source) {
            $.source = source;
            return this;
        }

        public Builder source(String source) {
            return source(Output.of(source));
        }

        public NFSMountConfigurationArgs build() {
            if ($.relativeMountPath == null) {
                throw new MissingRequiredPropertyException("NFSMountConfigurationArgs", "relativeMountPath");
            }
            if ($.source == null) {
                throw new MissingRequiredPropertyException("NFSMountConfigurationArgs", "source");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy