// *** 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 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<GetVpcIamPoolCidrsFilter> filters;

    /**
     * @return Custom filter block as described below.
     * 
     */
    public Optional<List<GetVpcIamPoolCidrsFilter>> 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<GetVpcIamPoolCidrsFilter> 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() {
            $.ipamPoolId = Objects.requireNonNull($.ipamPoolId, "expected parameter 'ipamPoolId' to be non-null");
            return $;
        }
    }

}
