
com.pulumi.aws.servicequotas.ServiceQuotaArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
public final class ServiceQuotaArgs extends com.pulumi.resources.ResourceArgs {
public static final ServiceQuotaArgs Empty = new ServiceQuotaArgs();
/**
* 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", required=true)
private 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 Output quotaCode() {
return this.quotaCode;
}
/**
* 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", required=true)
private 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 Output serviceCode() {
return this.serviceCode;
}
/**
* 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", required=true)
private 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 Output value() {
return this.value;
}
private ServiceQuotaArgs() {}
private ServiceQuotaArgs(ServiceQuotaArgs $) {
this.quotaCode = $.quotaCode;
this.serviceCode = $.serviceCode;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceQuotaArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ServiceQuotaArgs $;
public Builder() {
$ = new ServiceQuotaArgs();
}
public Builder(ServiceQuotaArgs defaults) {
$ = new ServiceQuotaArgs(Objects.requireNonNull(defaults));
}
/**
* @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(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 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(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 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(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 ServiceQuotaArgs build() {
if ($.quotaCode == null) {
throw new MissingRequiredPropertyException("ServiceQuotaArgs", "quotaCode");
}
if ($.serviceCode == null) {
throw new MissingRequiredPropertyException("ServiceQuotaArgs", "serviceCode");
}
if ($.value == null) {
throw new MissingRequiredPropertyException("ServiceQuotaArgs", "value");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy