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

com.pulumi.azurenative.avs.inputs.NetAppVolumeArgs Maven / Gradle / Ivy

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


/**
 * An Azure NetApp Files volume from Microsoft.NetApp provider
 * 
 */
public final class NetAppVolumeArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetAppVolumeArgs Empty = new NetAppVolumeArgs();

    /**
     * Azure resource ID of the NetApp volume
     * 
     */
    @Import(name="id", required=true)
    private Output id;

    /**
     * @return Azure resource ID of the NetApp volume
     * 
     */
    public Output id() {
        return this.id;
    }

    private NetAppVolumeArgs() {}

    private NetAppVolumeArgs(NetAppVolumeArgs $) {
        this.id = $.id;
    }

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

    public static final class Builder {
        private NetAppVolumeArgs $;

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

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

        /**
         * @param id Azure resource ID of the NetApp volume
         * 
         * @return builder
         * 
         */
        public Builder id(Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Azure resource ID of the NetApp volume
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy