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

com.pulumi.azurenative.education.LabArgs 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.education;

import com.pulumi.azurenative.education.inputs.AmountArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class LabArgs extends com.pulumi.resources.ResourceArgs {

    public static final LabArgs Empty = new LabArgs();

    /**
     * The ID that uniquely identifies a billing account.
     * 
     */
    @Import(name="billingAccountName", required=true)
    private Output billingAccountName;

    /**
     * @return The ID that uniquely identifies a billing account.
     * 
     */
    public Output billingAccountName() {
        return this.billingAccountName;
    }

    /**
     * The ID that uniquely identifies a billing profile.
     * 
     */
    @Import(name="billingProfileName", required=true)
    private Output billingProfileName;

    /**
     * @return The ID that uniquely identifies a billing profile.
     * 
     */
    public Output billingProfileName() {
        return this.billingProfileName;
    }

    /**
     * Default monetary cap for each student in this lab
     * 
     */
    @Import(name="budgetPerStudent", required=true)
    private Output budgetPerStudent;

    /**
     * @return Default monetary cap for each student in this lab
     * 
     */
    public Output budgetPerStudent() {
        return this.budgetPerStudent;
    }

    /**
     * The type of currency being used for the value.
     * 
     */
    @Import(name="currency")
    private @Nullable Output currency;

    /**
     * @return The type of currency being used for the value.
     * 
     */
    public Optional> currency() {
        return Optional.ofNullable(this.currency);
    }

    /**
     * Detail description of this lab
     * 
     */
    @Import(name="description", required=true)
    private Output description;

    /**
     * @return Detail description of this lab
     * 
     */
    public Output description() {
        return this.description;
    }

    /**
     * Lab Display Name
     * 
     */
    @Import(name="displayName", required=true)
    private Output displayName;

    /**
     * @return Lab Display Name
     * 
     */
    public Output displayName() {
        return this.displayName;
    }

    /**
     * Default expiration date for each student in this lab
     * 
     */
    @Import(name="expirationDate", required=true)
    private Output expirationDate;

    /**
     * @return Default expiration date for each student in this lab
     * 
     */
    public Output expirationDate() {
        return this.expirationDate;
    }

    /**
     * The ID that uniquely identifies an invoice section.
     * 
     */
    @Import(name="invoiceSectionName", required=true)
    private Output invoiceSectionName;

    /**
     * @return The ID that uniquely identifies an invoice section.
     * 
     */
    public Output invoiceSectionName() {
        return this.invoiceSectionName;
    }

    /**
     * Amount value.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return Amount value.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private LabArgs() {}

    private LabArgs(LabArgs $) {
        this.billingAccountName = $.billingAccountName;
        this.billingProfileName = $.billingProfileName;
        this.budgetPerStudent = $.budgetPerStudent;
        this.currency = $.currency;
        this.description = $.description;
        this.displayName = $.displayName;
        this.expirationDate = $.expirationDate;
        this.invoiceSectionName = $.invoiceSectionName;
        this.value = $.value;
    }

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

    public static final class Builder {
        private LabArgs $;

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

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

        /**
         * @param billingAccountName The ID that uniquely identifies a billing account.
         * 
         * @return builder
         * 
         */
        public Builder billingAccountName(Output billingAccountName) {
            $.billingAccountName = billingAccountName;
            return this;
        }

        /**
         * @param billingAccountName The ID that uniquely identifies a billing account.
         * 
         * @return builder
         * 
         */
        public Builder billingAccountName(String billingAccountName) {
            return billingAccountName(Output.of(billingAccountName));
        }

        /**
         * @param billingProfileName The ID that uniquely identifies a billing profile.
         * 
         * @return builder
         * 
         */
        public Builder billingProfileName(Output billingProfileName) {
            $.billingProfileName = billingProfileName;
            return this;
        }

        /**
         * @param billingProfileName The ID that uniquely identifies a billing profile.
         * 
         * @return builder
         * 
         */
        public Builder billingProfileName(String billingProfileName) {
            return billingProfileName(Output.of(billingProfileName));
        }

        /**
         * @param budgetPerStudent Default monetary cap for each student in this lab
         * 
         * @return builder
         * 
         */
        public Builder budgetPerStudent(Output budgetPerStudent) {
            $.budgetPerStudent = budgetPerStudent;
            return this;
        }

        /**
         * @param budgetPerStudent Default monetary cap for each student in this lab
         * 
         * @return builder
         * 
         */
        public Builder budgetPerStudent(AmountArgs budgetPerStudent) {
            return budgetPerStudent(Output.of(budgetPerStudent));
        }

        /**
         * @param currency The type of currency being used for the value.
         * 
         * @return builder
         * 
         */
        public Builder currency(@Nullable Output currency) {
            $.currency = currency;
            return this;
        }

        /**
         * @param currency The type of currency being used for the value.
         * 
         * @return builder
         * 
         */
        public Builder currency(String currency) {
            return currency(Output.of(currency));
        }

        /**
         * @param description Detail description of this lab
         * 
         * @return builder
         * 
         */
        public Builder description(Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Detail description of this lab
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName Lab Display Name
         * 
         * @return builder
         * 
         */
        public Builder displayName(Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Lab Display Name
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param expirationDate Default expiration date for each student in this lab
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(Output expirationDate) {
            $.expirationDate = expirationDate;
            return this;
        }

        /**
         * @param expirationDate Default expiration date for each student in this lab
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(String expirationDate) {
            return expirationDate(Output.of(expirationDate));
        }

        /**
         * @param invoiceSectionName The ID that uniquely identifies an invoice section.
         * 
         * @return builder
         * 
         */
        public Builder invoiceSectionName(Output invoiceSectionName) {
            $.invoiceSectionName = invoiceSectionName;
            return this;
        }

        /**
         * @param invoiceSectionName The ID that uniquely identifies an invoice section.
         * 
         * @return builder
         * 
         */
        public Builder invoiceSectionName(String invoiceSectionName) {
            return invoiceSectionName(Output.of(invoiceSectionName));
        }

        /**
         * @param value Amount value.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Amount value.
         * 
         * @return builder
         * 
         */
        public Builder value(Double value) {
            return value(Output.of(value));
        }

        public LabArgs build() {
            if ($.billingAccountName == null) {
                throw new MissingRequiredPropertyException("LabArgs", "billingAccountName");
            }
            if ($.billingProfileName == null) {
                throw new MissingRequiredPropertyException("LabArgs", "billingProfileName");
            }
            if ($.budgetPerStudent == null) {
                throw new MissingRequiredPropertyException("LabArgs", "budgetPerStudent");
            }
            if ($.description == null) {
                throw new MissingRequiredPropertyException("LabArgs", "description");
            }
            if ($.displayName == null) {
                throw new MissingRequiredPropertyException("LabArgs", "displayName");
            }
            if ($.expirationDate == null) {
                throw new MissingRequiredPropertyException("LabArgs", "expirationDate");
            }
            if ($.invoiceSectionName == null) {
                throw new MissingRequiredPropertyException("LabArgs", "invoiceSectionName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy