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

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

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.servicequotas.inputs;

import com.pulumi.aws.servicequotas.inputs.ServiceQuotaUsageMetricArgs;
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.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ServiceQuotaState Empty = new ServiceQuotaState();

    /**
     * Whether the service quota can be increased.
     * 
     */
    @Import(name="adjustable")
    private @Nullable Output adjustable;

    /**
     * @return Whether the service quota can be increased.
     * 
     */
    public Optional> adjustable() {
        return Optional.ofNullable(this.adjustable);
    }

    /**
     * Amazon Resource Name (ARN) of the service quota.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN) of the service quota.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Default value of the service quota.
     * 
     */
    @Import(name="defaultValue")
    private @Nullable Output defaultValue;

    /**
     * @return Default value of the service quota.
     * 
     */
    public Optional> defaultValue() {
        return Optional.ofNullable(this.defaultValue);
    }

    /**
     * Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).
     * 
     */
    @Import(name="quotaCode")
    private @Nullable Output quotaCode;

    /**
     * @return Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).
     * 
     */
    public Optional> quotaCode() {
        return Optional.ofNullable(this.quotaCode);
    }

    /**
     * Name of the quota.
     * 
     */
    @Import(name="quotaName")
    private @Nullable Output quotaName;

    /**
     * @return Name of the quota.
     * 
     */
    public Optional> quotaName() {
        return Optional.ofNullable(this.quotaName);
    }

    @Import(name="requestId")
    private @Nullable Output requestId;

    public Optional> requestId() {
        return Optional.ofNullable(this.requestId);
    }

    @Import(name="requestStatus")
    private @Nullable Output requestStatus;

    public Optional> requestStatus() {
        return Optional.ofNullable(this.requestStatus);
    }

    /**
     * Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
     * 
     */
    @Import(name="serviceCode")
    private @Nullable Output serviceCode;

    /**
     * @return Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
     * 
     */
    public Optional> serviceCode() {
        return Optional.ofNullable(this.serviceCode);
    }

    /**
     * Name of the service.
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return Name of the service.
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    /**
     * Information about the measurement.
     * 
     */
    @Import(name="usageMetrics")
    private @Nullable Output> usageMetrics;

    /**
     * @return Information about the measurement.
     * 
     */
    public Optional>> usageMetrics() {
        return Optional.ofNullable(this.usageMetrics);
    }

    /**
     * Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private ServiceQuotaState() {}

    private ServiceQuotaState(ServiceQuotaState $) {
        this.adjustable = $.adjustable;
        this.arn = $.arn;
        this.defaultValue = $.defaultValue;
        this.quotaCode = $.quotaCode;
        this.quotaName = $.quotaName;
        this.requestId = $.requestId;
        this.requestStatus = $.requestStatus;
        this.serviceCode = $.serviceCode;
        this.serviceName = $.serviceName;
        this.usageMetrics = $.usageMetrics;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ServiceQuotaState $;

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

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

        /**
         * @param adjustable Whether the service quota can be increased.
         * 
         * @return builder
         * 
         */
        public Builder adjustable(@Nullable Output adjustable) {
            $.adjustable = adjustable;
            return this;
        }

        /**
         * @param adjustable Whether the service quota can be increased.
         * 
         * @return builder
         * 
         */
        public Builder adjustable(Boolean adjustable) {
            return adjustable(Output.of(adjustable));
        }

        /**
         * @param arn Amazon Resource Name (ARN) of the service quota.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN) of the service quota.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param defaultValue Default value of the service quota.
         * 
         * @return builder
         * 
         */
        public Builder defaultValue(@Nullable Output defaultValue) {
            $.defaultValue = defaultValue;
            return this;
        }

        /**
         * @param defaultValue Default value of the service quota.
         * 
         * @return builder
         * 
         */
        public Builder defaultValue(Double defaultValue) {
            return defaultValue(Output.of(defaultValue));
        }

        /**
         * @param quotaCode Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).
         * 
         * @return builder
         * 
         */
        public Builder quotaCode(@Nullable Output quotaCode) {
            $.quotaCode = quotaCode;
            return this;
        }

        /**
         * @param quotaCode Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).
         * 
         * @return builder
         * 
         */
        public Builder quotaCode(String quotaCode) {
            return quotaCode(Output.of(quotaCode));
        }

        /**
         * @param quotaName Name of the quota.
         * 
         * @return builder
         * 
         */
        public Builder quotaName(@Nullable Output quotaName) {
            $.quotaName = quotaName;
            return this;
        }

        /**
         * @param quotaName Name of the quota.
         * 
         * @return builder
         * 
         */
        public Builder quotaName(String quotaName) {
            return quotaName(Output.of(quotaName));
        }

        public Builder requestId(@Nullable Output requestId) {
            $.requestId = requestId;
            return this;
        }

        public Builder requestId(String requestId) {
            return requestId(Output.of(requestId));
        }

        public Builder requestStatus(@Nullable Output requestStatus) {
            $.requestStatus = requestStatus;
            return this;
        }

        public Builder requestStatus(String requestStatus) {
            return requestStatus(Output.of(requestStatus));
        }

        /**
         * @param serviceCode Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
         * 
         * @return builder
         * 
         */
        public Builder serviceCode(@Nullable Output serviceCode) {
            $.serviceCode = serviceCode;
            return this;
        }

        /**
         * @param serviceCode Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
         * 
         * @return builder
         * 
         */
        public Builder serviceCode(String serviceCode) {
            return serviceCode(Output.of(serviceCode));
        }

        /**
         * @param serviceName Name of the service.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName Name of the service.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param usageMetrics Information about the measurement.
         * 
         * @return builder
         * 
         */
        public Builder usageMetrics(@Nullable Output> usageMetrics) {
            $.usageMetrics = usageMetrics;
            return this;
        }

        /**
         * @param usageMetrics Information about the measurement.
         * 
         * @return builder
         * 
         */
        public Builder usageMetrics(List usageMetrics) {
            return usageMetrics(Output.of(usageMetrics));
        }

        /**
         * @param usageMetrics Information about the measurement.
         * 
         * @return builder
         * 
         */
        public Builder usageMetrics(ServiceQuotaUsageMetricArgs... usageMetrics) {
            return usageMetrics(List.of(usageMetrics));
        }

        /**
         * @param value Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.
         * 
         * @return builder
         * 
         */
        public Builder value(Double value) {
            return value(Output.of(value));
        }

        public ServiceQuotaState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy