com.pulumi.aws.ec2.inputs.GetVpcIamPoolCidrsPlainArgs 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.ec2.inputs;
import com.pulumi.aws.ec2.inputs.GetVpcIamPoolCidrsFilter;
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 GetVpcIamPoolCidrsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetVpcIamPoolCidrsPlainArgs Empty = new GetVpcIamPoolCidrsPlainArgs();
/**
* Custom filter block as described below.
*
*/
@Import(name="filters")
private @Nullable List filters;
/**
* @return Custom filter block as described below.
*
*/
public Optional> filters() {
return Optional.ofNullable(this.filters);
}
/**
* ID of the IPAM pool you would like the list of provisioned CIDRs.
*
*/
@Import(name="ipamPoolId", required=true)
private String ipamPoolId;
/**
* @return ID of the IPAM pool you would like the list of provisioned CIDRs.
*
*/
public String ipamPoolId() {
return this.ipamPoolId;
}
private GetVpcIamPoolCidrsPlainArgs() {}
private GetVpcIamPoolCidrsPlainArgs(GetVpcIamPoolCidrsPlainArgs $) {
this.filters = $.filters;
this.ipamPoolId = $.ipamPoolId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVpcIamPoolCidrsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetVpcIamPoolCidrsPlainArgs $;
public Builder() {
$ = new GetVpcIamPoolCidrsPlainArgs();
}
public Builder(GetVpcIamPoolCidrsPlainArgs defaults) {
$ = new GetVpcIamPoolCidrsPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param filters Custom filter block as described below.
*
* @return builder
*
*/
public Builder filters(@Nullable List filters) {
$.filters = filters;
return this;
}
/**
* @param filters Custom filter block as described below.
*
* @return builder
*
*/
public Builder filters(GetVpcIamPoolCidrsFilter... filters) {
return filters(List.of(filters));
}
/**
* @param ipamPoolId ID of the IPAM pool you would like the list of provisioned CIDRs.
*
* @return builder
*
*/
public Builder ipamPoolId(String ipamPoolId) {
$.ipamPoolId = ipamPoolId;
return this;
}
public GetVpcIamPoolCidrsPlainArgs build() {
if ($.ipamPoolId == null) {
throw new MissingRequiredPropertyException("GetVpcIamPoolCidrsPlainArgs", "ipamPoolId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy