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

com.pulumi.azurenative.databoxedge.inputs.MountPointMapArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.databoxedge.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;


/**
 * The share mount point.
 * 
 */
public final class MountPointMapArgs extends com.pulumi.resources.ResourceArgs {

    public static final MountPointMapArgs Empty = new MountPointMapArgs();

    /**
     * ID of the share mounted to the role VM.
     * 
     */
    @Import(name="shareId", required=true)
    private Output shareId;

    /**
     * @return ID of the share mounted to the role VM.
     * 
     */
    public Output shareId() {
        return this.shareId;
    }

    private MountPointMapArgs() {}

    private MountPointMapArgs(MountPointMapArgs $) {
        this.shareId = $.shareId;
    }

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

    public static final class Builder {
        private MountPointMapArgs $;

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

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

        /**
         * @param shareId ID of the share mounted to the role VM.
         * 
         * @return builder
         * 
         */
        public Builder shareId(Output shareId) {
            $.shareId = shareId;
            return this;
        }

        /**
         * @param shareId ID of the share mounted to the role VM.
         * 
         * @return builder
         * 
         */
        public Builder shareId(String shareId) {
            return shareId(Output.of(shareId));
        }

        public MountPointMapArgs build() {
            if ($.shareId == null) {
                throw new MissingRequiredPropertyException("MountPointMapArgs", "shareId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy