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

com.pulumi.azurenative.engagementfabric.inputs.SKUArgs 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.engagementfabric.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;


/**
 * The EngagementFabric SKU
 * 
 */
public final class SKUArgs extends com.pulumi.resources.ResourceArgs {

    public static final SKUArgs Empty = new SKUArgs();

    /**
     * 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;
    }

    /**
     * The price tier of the SKU
     * 
     */
    @Import(name="tier")
    private @Nullable Output tier;

    /**
     * @return The price tier of the SKU
     * 
     */
    public Optional> tier() {
        return Optional.ofNullable(this.tier);
    }

    private SKUArgs() {}

    private SKUArgs(SKUArgs $) {
        this.name = $.name;
        this.tier = $.tier;
    }

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

    public static final class Builder {
        private SKUArgs $;

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

        public Builder(SKUArgs defaults) {
            $ = new SKUArgs(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(String name) {
            return name(Output.of(name));
        }

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

        /**
         * @param tier The price tier of the SKU
         * 
         * @return builder
         * 
         */
        public Builder tier(String tier) {
            return tier(Output.of(tier));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy