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

com.pulumi.azurenative.iotcentral.inputs.AppSkuInfoArgs 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.iotcentral.inputs;

import com.pulumi.azurenative.iotcentral.enums.AppSku;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Information about the SKU of the IoT Central application.
 * 
 */
public final class AppSkuInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final AppSkuInfoArgs Empty = new AppSkuInfoArgs();

    /**
     * The name of the SKU.
     * 
     */
    @Import(name="name", required=true)
    private Output> name;

    /**
     * @return The name of the SKU.
     * 
     */
    public Output> name() {
        return this.name;
    }

    private AppSkuInfoArgs() {}

    private AppSkuInfoArgs(AppSkuInfoArgs $) {
        this.name = $.name;
    }

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

    public static final class Builder {
        private AppSkuInfoArgs $;

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

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

        /**
         * @param name The name of the SKU.
         * 
         * @return builder
         * 
         */
        public Builder name(Output> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the SKU.
         * 
         * @return builder
         * 
         */
        public Builder name(Either name) {
            return name(Output.of(name));
        }

        /**
         * @param name The name of the SKU.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Either.ofLeft(name));
        }

        /**
         * @param name The name of the SKU.
         * 
         * @return builder
         * 
         */
        public Builder name(AppSku name) {
            return name(Either.ofRight(name));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy