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

com.pulumi.azurenative.quota.inputs.GetGroupQuotaArgs 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.quota.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;


public final class GetGroupQuotaArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetGroupQuotaArgs Empty = new GetGroupQuotaArgs();

    /**
     * The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
     * 
     */
    @Import(name="groupQuotaName", required=true)
    private Output groupQuotaName;

    /**
     * @return The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
     * 
     */
    public Output groupQuotaName() {
        return this.groupQuotaName;
    }

    /**
     * Management Group Id.
     * 
     */
    @Import(name="managementGroupId", required=true)
    private Output managementGroupId;

    /**
     * @return Management Group Id.
     * 
     */
    public Output managementGroupId() {
        return this.managementGroupId;
    }

    private GetGroupQuotaArgs() {}

    private GetGroupQuotaArgs(GetGroupQuotaArgs $) {
        this.groupQuotaName = $.groupQuotaName;
        this.managementGroupId = $.managementGroupId;
    }

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

    public static final class Builder {
        private GetGroupQuotaArgs $;

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

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

        /**
         * @param groupQuotaName The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
         * 
         * @return builder
         * 
         */
        public Builder groupQuotaName(Output groupQuotaName) {
            $.groupQuotaName = groupQuotaName;
            return this;
        }

        /**
         * @param groupQuotaName The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
         * 
         * @return builder
         * 
         */
        public Builder groupQuotaName(String groupQuotaName) {
            return groupQuotaName(Output.of(groupQuotaName));
        }

        /**
         * @param managementGroupId Management Group Id.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(Output managementGroupId) {
            $.managementGroupId = managementGroupId;
            return this;
        }

        /**
         * @param managementGroupId Management Group Id.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(String managementGroupId) {
            return managementGroupId(Output.of(managementGroupId));
        }

        public GetGroupQuotaArgs build() {
            if ($.groupQuotaName == null) {
                throw new MissingRequiredPropertyException("GetGroupQuotaArgs", "groupQuotaName");
            }
            if ($.managementGroupId == null) {
                throw new MissingRequiredPropertyException("GetGroupQuotaArgs", "managementGroupId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy