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

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

import com.pulumi.azurenative.quota.inputs.GroupQuotasEntityBaseArgs;
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 GroupQuotaArgs extends com.pulumi.resources.ResourceArgs {

    public static final GroupQuotaArgs Empty = new GroupQuotaArgs();

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

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

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

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

    /**
     * Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    private GroupQuotaArgs() {}

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

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

    public static final class Builder {
        private GroupQuotaArgs $;

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

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

        /**
         * @param groupQuotaName The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
         * 
         * @return builder
         * 
         */
        public Builder groupQuotaName(@Nullable 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));
        }

        /**
         * @param properties Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.
         * 
         * @return builder
         * 
         */
        public Builder properties(GroupQuotasEntityBaseArgs properties) {
            return properties(Output.of(properties));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy