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

com.pulumi.aws.servicequotas.inputs.TemplateState Maven / Gradle / Ivy

// *** 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.aws.servicequotas.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final TemplateState Empty = new TemplateState();

    /**
     * Indicates whether the quota is global.
     * 
     */
    @Import(name="globalQuota")
    private @Nullable Output globalQuota;

    /**
     * @return Indicates whether the quota is global.
     * 
     */
    public Optional> globalQuota() {
        return Optional.ofNullable(this.globalQuota);
    }

    /**
     * Quota identifier. To find the quota code for a specific quota, use the aws.servicequotas.ServiceQuota data source.
     * 
     */
    @Import(name="quotaCode")
    private @Nullable Output quotaCode;

    /**
     * @return Quota identifier. To find the quota code for a specific quota, use the aws.servicequotas.ServiceQuota data source.
     * 
     */
    public Optional> quotaCode() {
        return Optional.ofNullable(this.quotaCode);
    }

    /**
     * Quota name.
     * 
     */
    @Import(name="quotaName")
    private @Nullable Output quotaName;

    /**
     * @return Quota name.
     * 
     */
    public Optional> quotaName() {
        return Optional.ofNullable(this.quotaName);
    }

    /**
     * AWS Region to which the template applies.
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return AWS Region to which the template applies.
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    /**
     * Service identifier. To find the service code value for an AWS service, use the aws.servicequotas.getService data source.
     * 
     */
    @Import(name="serviceCode")
    private @Nullable Output serviceCode;

    /**
     * @return Service identifier. To find the service code value for an AWS service, use the aws.servicequotas.getService data source.
     * 
     */
    public Optional> serviceCode() {
        return Optional.ofNullable(this.serviceCode);
    }

    /**
     * Service name.
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return Service name.
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    /**
     * Unit of measurement.
     * 
     */
    @Import(name="unit")
    private @Nullable Output unit;

    /**
     * @return Unit of measurement.
     * 
     */
    public Optional> unit() {
        return Optional.ofNullable(this.unit);
    }

    /**
     * The new, increased value for the quota.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return The new, increased value for the quota.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private TemplateState() {}

    private TemplateState(TemplateState $) {
        this.globalQuota = $.globalQuota;
        this.quotaCode = $.quotaCode;
        this.quotaName = $.quotaName;
        this.region = $.region;
        this.serviceCode = $.serviceCode;
        this.serviceName = $.serviceName;
        this.unit = $.unit;
        this.value = $.value;
    }

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

    public static final class Builder {
        private TemplateState $;

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

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

        /**
         * @param globalQuota Indicates whether the quota is global.
         * 
         * @return builder
         * 
         */
        public Builder globalQuota(@Nullable Output globalQuota) {
            $.globalQuota = globalQuota;
            return this;
        }

        /**
         * @param globalQuota Indicates whether the quota is global.
         * 
         * @return builder
         * 
         */
        public Builder globalQuota(Boolean globalQuota) {
            return globalQuota(Output.of(globalQuota));
        }

        /**
         * @param quotaCode Quota identifier. To find the quota code for a specific quota, use the aws.servicequotas.ServiceQuota data source.
         * 
         * @return builder
         * 
         */
        public Builder quotaCode(@Nullable Output quotaCode) {
            $.quotaCode = quotaCode;
            return this;
        }

        /**
         * @param quotaCode Quota identifier. To find the quota code for a specific quota, use the aws.servicequotas.ServiceQuota data source.
         * 
         * @return builder
         * 
         */
        public Builder quotaCode(String quotaCode) {
            return quotaCode(Output.of(quotaCode));
        }

        /**
         * @param quotaName Quota name.
         * 
         * @return builder
         * 
         */
        public Builder quotaName(@Nullable Output quotaName) {
            $.quotaName = quotaName;
            return this;
        }

        /**
         * @param quotaName Quota name.
         * 
         * @return builder
         * 
         */
        public Builder quotaName(String quotaName) {
            return quotaName(Output.of(quotaName));
        }

        /**
         * @param region AWS Region to which the template applies.
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region AWS Region to which the template applies.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        /**
         * @param serviceCode Service identifier. To find the service code value for an AWS service, use the aws.servicequotas.getService data source.
         * 
         * @return builder
         * 
         */
        public Builder serviceCode(@Nullable Output serviceCode) {
            $.serviceCode = serviceCode;
            return this;
        }

        /**
         * @param serviceCode Service identifier. To find the service code value for an AWS service, use the aws.servicequotas.getService data source.
         * 
         * @return builder
         * 
         */
        public Builder serviceCode(String serviceCode) {
            return serviceCode(Output.of(serviceCode));
        }

        /**
         * @param serviceName Service name.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName Service name.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param unit Unit of measurement.
         * 
         * @return builder
         * 
         */
        public Builder unit(@Nullable Output unit) {
            $.unit = unit;
            return this;
        }

        /**
         * @param unit Unit of measurement.
         * 
         * @return builder
         * 
         */
        public Builder unit(String unit) {
            return unit(Output.of(unit));
        }

        /**
         * @param value The new, increased value for the quota.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The new, increased value for the quota.
         * 
         * @return builder
         * 
         */
        public Builder value(Double value) {
            return value(Output.of(value));
        }

        public TemplateState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy