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

com.pulumi.aws.ec2.inputs.GetVpcIpamPoolCidrsPlainArgs 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.66.3
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.ec2.inputs;

import com.pulumi.aws.ec2.inputs.GetVpcIpamPoolCidrsFilter;
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 GetVpcIpamPoolCidrsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpcIpamPoolCidrsPlainArgs Empty = new GetVpcIpamPoolCidrsPlainArgs();

    /**
     * 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 GetVpcIpamPoolCidrsPlainArgs() {}

    private GetVpcIpamPoolCidrsPlainArgs(GetVpcIpamPoolCidrsPlainArgs $) {
        this.filters = $.filters;
        this.ipamPoolId = $.ipamPoolId;
    }

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

    public static final class Builder {
        private GetVpcIpamPoolCidrsPlainArgs $;

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

        public Builder(GetVpcIpamPoolCidrsPlainArgs defaults) {
            $ = new GetVpcIpamPoolCidrsPlainArgs(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(GetVpcIpamPoolCidrsFilter... 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 GetVpcIpamPoolCidrsPlainArgs build() {
            if ($.ipamPoolId == null) {
                throw new MissingRequiredPropertyException("GetVpcIpamPoolCidrsPlainArgs", "ipamPoolId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy