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

com.pulumi.azurenative.deviceregistry.inputs.ExtendedLocationArgs 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.deviceregistry.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 extended location.
 * 
 */
public final class ExtendedLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExtendedLocationArgs Empty = new ExtendedLocationArgs();

    /**
     * The extended location name.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The extended location name.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The extended location type.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The extended location type.
     * 
     */
    public Output type() {
        return this.type;
    }

    private ExtendedLocationArgs() {}

    private ExtendedLocationArgs(ExtendedLocationArgs $) {
        this.name = $.name;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ExtendedLocationArgs $;

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

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

        /**
         * @param name The extended location name.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The extended location name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param type The extended location type.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The extended location type.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ExtendedLocationArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ExtendedLocationArgs", "name");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("ExtendedLocationArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy