com.pulumi.aws.servicequotas.outputs.GetTemplatesTemplate 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.
The 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetTemplatesTemplate {
/**
* @return Indicates whether the quota is global.
*
*/
private Boolean globalQuota;
/**
* @return Quota identifier.
*
*/
private String quotaCode;
/**
* @return Quota name.
*
*/
private String quotaName;
/**
* @return AWS Region to which the quota increases apply.
*
*/
private String region;
/**
* @return (Required) Service identifier.
*
*/
private String serviceCode;
/**
* @return Service name.
*
*/
private String serviceName;
/**
* @return Unit of measurement.
*
*/
private String unit;
/**
* @return (Required) The new, increased value for the quota.
*
*/
private Double value;
private GetTemplatesTemplate() {}
/**
* @return Indicates whether the quota is global.
*
*/
public Boolean globalQuota() {
return this.globalQuota;
}
/**
* @return Quota identifier.
*
*/
public String quotaCode() {
return this.quotaCode;
}
/**
* @return Quota name.
*
*/
public String quotaName() {
return this.quotaName;
}
/**
* @return AWS Region to which the quota increases apply.
*
*/
public String region() {
return this.region;
}
/**
* @return (Required) Service identifier.
*
*/
public String serviceCode() {
return this.serviceCode;
}
/**
* @return Service name.
*
*/
public String serviceName() {
return this.serviceName;
}
/**
* @return Unit of measurement.
*
*/
public String unit() {
return this.unit;
}
/**
* @return (Required) The new, increased value for the quota.
*
*/
public Double value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetTemplatesTemplate defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean globalQuota;
private String quotaCode;
private String quotaName;
private String region;
private String serviceCode;
private String serviceName;
private String unit;
private Double value;
public Builder() {}
public Builder(GetTemplatesTemplate defaults) {
Objects.requireNonNull(defaults);
this.globalQuota = defaults.globalQuota;
this.quotaCode = defaults.quotaCode;
this.quotaName = defaults.quotaName;
this.region = defaults.region;
this.serviceCode = defaults.serviceCode;
this.serviceName = defaults.serviceName;
this.unit = defaults.unit;
this.value = defaults.value;
}
@CustomType.Setter
public Builder globalQuota(Boolean globalQuota) {
if (globalQuota == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "globalQuota");
}
this.globalQuota = globalQuota;
return this;
}
@CustomType.Setter
public Builder quotaCode(String quotaCode) {
if (quotaCode == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "quotaCode");
}
this.quotaCode = quotaCode;
return this;
}
@CustomType.Setter
public Builder quotaName(String quotaName) {
if (quotaName == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "quotaName");
}
this.quotaName = quotaName;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "region");
}
this.region = region;
return this;
}
@CustomType.Setter
public Builder serviceCode(String serviceCode) {
if (serviceCode == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "serviceCode");
}
this.serviceCode = serviceCode;
return this;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "serviceName");
}
this.serviceName = serviceName;
return this;
}
@CustomType.Setter
public Builder unit(String unit) {
if (unit == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "unit");
}
this.unit = unit;
return this;
}
@CustomType.Setter
public Builder value(Double value) {
if (value == null) {
throw new MissingRequiredPropertyException("GetTemplatesTemplate", "value");
}
this.value = value;
return this;
}
public GetTemplatesTemplate build() {
final var _resultValue = new GetTemplatesTemplate();
_resultValue.globalQuota = globalQuota;
_resultValue.quotaCode = quotaCode;
_resultValue.quotaName = quotaName;
_resultValue.region = region;
_resultValue.serviceCode = serviceCode;
_resultValue.serviceName = serviceName;
_resultValue.unit = unit;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy