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

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

import com.pulumi.azurenative.education.enums.StudentRole;
import com.pulumi.azurenative.education.inputs.AmountArgs;
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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final StudentArgs Empty = new StudentArgs();

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

    /**
     * Student Budget
     * 
     */
    @Import(name="budget", required=true)
    private Output budget;

    /**
     * @return Student Budget
     * 
     */
    public Output budget() {
        return this.budget;
    }

    /**
     * Student Email
     * 
     */
    @Import(name="email", required=true)
    private Output email;

    /**
     * @return Student Email
     * 
     */
    public Output email() {
        return this.email;
    }

    /**
     * Date this student is set to expire from the lab.
     * 
     */
    @Import(name="expirationDate", required=true)
    private Output expirationDate;

    /**
     * @return Date this student is set to expire from the lab.
     * 
     */
    public Output expirationDate() {
        return this.expirationDate;
    }

    /**
     * First Name
     * 
     */
    @Import(name="firstName", required=true)
    private Output firstName;

    /**
     * @return First Name
     * 
     */
    public Output firstName() {
        return this.firstName;
    }

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

    /**
     * Last Name
     * 
     */
    @Import(name="lastName", required=true)
    private Output lastName;

    /**
     * @return Last Name
     * 
     */
    public Output lastName() {
        return this.lastName;
    }

    /**
     * Student Role
     * 
     */
    @Import(name="role", required=true)
    private Output> role;

    /**
     * @return Student Role
     * 
     */
    public Output> role() {
        return this.role;
    }

    /**
     * Student alias.
     * 
     */
    @Import(name="studentAlias")
    private @Nullable Output studentAlias;

    /**
     * @return Student alias.
     * 
     */
    public Optional> studentAlias() {
        return Optional.ofNullable(this.studentAlias);
    }

    /**
     * Subscription alias
     * 
     */
    @Import(name="subscriptionAlias")
    private @Nullable Output subscriptionAlias;

    /**
     * @return Subscription alias
     * 
     */
    public Optional> subscriptionAlias() {
        return Optional.ofNullable(this.subscriptionAlias);
    }

    /**
     * subscription invite last sent date
     * 
     */
    @Import(name="subscriptionInviteLastSentDate")
    private @Nullable Output subscriptionInviteLastSentDate;

    /**
     * @return subscription invite last sent date
     * 
     */
    public Optional> subscriptionInviteLastSentDate() {
        return Optional.ofNullable(this.subscriptionInviteLastSentDate);
    }

    private StudentArgs() {}

    private StudentArgs(StudentArgs $) {
        this.billingAccountName = $.billingAccountName;
        this.billingProfileName = $.billingProfileName;
        this.budget = $.budget;
        this.email = $.email;
        this.expirationDate = $.expirationDate;
        this.firstName = $.firstName;
        this.invoiceSectionName = $.invoiceSectionName;
        this.lastName = $.lastName;
        this.role = $.role;
        this.studentAlias = $.studentAlias;
        this.subscriptionAlias = $.subscriptionAlias;
        this.subscriptionInviteLastSentDate = $.subscriptionInviteLastSentDate;
    }

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

    public static final class Builder {
        private StudentArgs $;

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

        public Builder(StudentArgs defaults) {
            $ = new StudentArgs(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 budget Student Budget
         * 
         * @return builder
         * 
         */
        public Builder budget(Output budget) {
            $.budget = budget;
            return this;
        }

        /**
         * @param budget Student Budget
         * 
         * @return builder
         * 
         */
        public Builder budget(AmountArgs budget) {
            return budget(Output.of(budget));
        }

        /**
         * @param email Student Email
         * 
         * @return builder
         * 
         */
        public Builder email(Output email) {
            $.email = email;
            return this;
        }

        /**
         * @param email Student Email
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        /**
         * @param expirationDate Date this student is set to expire from the lab.
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(Output expirationDate) {
            $.expirationDate = expirationDate;
            return this;
        }

        /**
         * @param expirationDate Date this student is set to expire from the lab.
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(String expirationDate) {
            return expirationDate(Output.of(expirationDate));
        }

        /**
         * @param firstName First Name
         * 
         * @return builder
         * 
         */
        public Builder firstName(Output firstName) {
            $.firstName = firstName;
            return this;
        }

        /**
         * @param firstName First Name
         * 
         * @return builder
         * 
         */
        public Builder firstName(String firstName) {
            return firstName(Output.of(firstName));
        }

        /**
         * @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 lastName Last Name
         * 
         * @return builder
         * 
         */
        public Builder lastName(Output lastName) {
            $.lastName = lastName;
            return this;
        }

        /**
         * @param lastName Last Name
         * 
         * @return builder
         * 
         */
        public Builder lastName(String lastName) {
            return lastName(Output.of(lastName));
        }

        /**
         * @param role Student Role
         * 
         * @return builder
         * 
         */
        public Builder role(Output> role) {
            $.role = role;
            return this;
        }

        /**
         * @param role Student Role
         * 
         * @return builder
         * 
         */
        public Builder role(Either role) {
            return role(Output.of(role));
        }

        /**
         * @param role Student Role
         * 
         * @return builder
         * 
         */
        public Builder role(String role) {
            return role(Either.ofLeft(role));
        }

        /**
         * @param role Student Role
         * 
         * @return builder
         * 
         */
        public Builder role(StudentRole role) {
            return role(Either.ofRight(role));
        }

        /**
         * @param studentAlias Student alias.
         * 
         * @return builder
         * 
         */
        public Builder studentAlias(@Nullable Output studentAlias) {
            $.studentAlias = studentAlias;
            return this;
        }

        /**
         * @param studentAlias Student alias.
         * 
         * @return builder
         * 
         */
        public Builder studentAlias(String studentAlias) {
            return studentAlias(Output.of(studentAlias));
        }

        /**
         * @param subscriptionAlias Subscription alias
         * 
         * @return builder
         * 
         */
        public Builder subscriptionAlias(@Nullable Output subscriptionAlias) {
            $.subscriptionAlias = subscriptionAlias;
            return this;
        }

        /**
         * @param subscriptionAlias Subscription alias
         * 
         * @return builder
         * 
         */
        public Builder subscriptionAlias(String subscriptionAlias) {
            return subscriptionAlias(Output.of(subscriptionAlias));
        }

        /**
         * @param subscriptionInviteLastSentDate subscription invite last sent date
         * 
         * @return builder
         * 
         */
        public Builder subscriptionInviteLastSentDate(@Nullable Output subscriptionInviteLastSentDate) {
            $.subscriptionInviteLastSentDate = subscriptionInviteLastSentDate;
            return this;
        }

        /**
         * @param subscriptionInviteLastSentDate subscription invite last sent date
         * 
         * @return builder
         * 
         */
        public Builder subscriptionInviteLastSentDate(String subscriptionInviteLastSentDate) {
            return subscriptionInviteLastSentDate(Output.of(subscriptionInviteLastSentDate));
        }

        public StudentArgs build() {
            if ($.billingAccountName == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "billingAccountName");
            }
            if ($.billingProfileName == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "billingProfileName");
            }
            if ($.budget == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "budget");
            }
            if ($.email == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "email");
            }
            if ($.expirationDate == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "expirationDate");
            }
            if ($.firstName == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "firstName");
            }
            if ($.invoiceSectionName == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "invoiceSectionName");
            }
            if ($.lastName == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "lastName");
            }
            if ($.role == null) {
                throw new MissingRequiredPropertyException("StudentArgs", "role");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy