com.pulumi.aws.servicequotas.inputs.GetTemplatesPlainArgs 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.aws.servicequotas.inputs.GetTemplatesTemplate;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetTemplatesPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetTemplatesPlainArgs Empty = new GetTemplatesPlainArgs();
/**
* AWS Region to which the quota increases apply.
*
*/
@Import(name="region", required=true)
private String region;
/**
* @return AWS Region to which the quota increases apply.
*
*/
public String region() {
return this.region;
}
/**
* A list of quota increase templates for specified region. See `templates`.
*
*/
@Import(name="templates")
private @Nullable List templates;
/**
* @return A list of quota increase templates for specified region. See `templates`.
*
*/
public Optional> templates() {
return Optional.ofNullable(this.templates);
}
private GetTemplatesPlainArgs() {}
private GetTemplatesPlainArgs(GetTemplatesPlainArgs $) {
this.region = $.region;
this.templates = $.templates;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetTemplatesPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetTemplatesPlainArgs $;
public Builder() {
$ = new GetTemplatesPlainArgs();
}
public Builder(GetTemplatesPlainArgs defaults) {
$ = new GetTemplatesPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param region AWS Region to which the quota increases apply.
*
* @return builder
*
*/
public Builder region(String region) {
$.region = region;
return this;
}
/**
* @param templates A list of quota increase templates for specified region. See `templates`.
*
* @return builder
*
*/
public Builder templates(@Nullable List templates) {
$.templates = templates;
return this;
}
/**
* @param templates A list of quota increase templates for specified region. See `templates`.
*
* @return builder
*
*/
public Builder templates(GetTemplatesTemplate... templates) {
return templates(List.of(templates));
}
public GetTemplatesPlainArgs build() {
if ($.region == null) {
throw new MissingRequiredPropertyException("GetTemplatesPlainArgs", "region");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy