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

com.pulumi.azurenative.network.inputs.ExpressRouteCircuitSkuArgs 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.network.inputs;

import com.pulumi.azurenative.network.enums.ExpressRouteCircuitSkuFamily;
import com.pulumi.azurenative.network.enums.ExpressRouteCircuitSkuTier;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Contains SKU in an ExpressRouteCircuit.
 * 
 */
public final class ExpressRouteCircuitSkuArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExpressRouteCircuitSkuArgs Empty = new ExpressRouteCircuitSkuArgs();

    /**
     * The family of the SKU.
     * 
     */
    @Import(name="family")
    private @Nullable Output> family;

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

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

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

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

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

    private ExpressRouteCircuitSkuArgs() {}

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

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

    public static final class Builder {
        private ExpressRouteCircuitSkuArgs $;

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

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

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

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

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

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

        /**
         * @param name The name of the SKU.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable 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 tier of the SKU.
         * 
         * @return builder
         * 
         */
        public Builder tier(@Nullable Output> tier) {
            $.tier = tier;
            return this;
        }

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

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

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

        public ExpressRouteCircuitSkuArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy