// *** 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.GetVpcIamPoolFilterArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetVpcIamPoolArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpcIamPoolArgs Empty = new GetVpcIamPoolArgs();

    /**
     * Tags that are required to create resources in using this pool.
     * 
     */
    @Import(name="allocationResourceTags")
    private @Nullable Output<Map<String,String>> allocationResourceTags;

    /**
     * @return Tags that are required to create resources in using this pool.
     * 
     */
    public Optional<Output<Map<String,String>>> allocationResourceTags() {
        return Optional.ofNullable(this.allocationResourceTags);
    }

    /**
     * Custom filter block as described below.
     * 
     */
    @Import(name="filters")
    private @Nullable Output<List<GetVpcIamPoolFilterArgs>> filters;

    /**
     * @return Custom filter block as described below.
     * 
     */
    public Optional<Output<List<GetVpcIamPoolFilterArgs>>> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * ID of the IPAM pool.
     * 
     */
    @Import(name="id")
    private @Nullable Output<String> id;

    /**
     * @return ID of the IPAM pool.
     * 
     */
    public Optional<Output<String>> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * ID of the IPAM pool you would like information on.
     * 
     */
    @Import(name="ipamPoolId")
    private @Nullable Output<String> ipamPoolId;

    /**
     * @return ID of the IPAM pool you would like information on.
     * 
     */
    public Optional<Output<String>> ipamPoolId() {
        return Optional.ofNullable(this.ipamPoolId);
    }

    /**
     * Map of tags to assigned to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output<Map<String,String>> tags;

    /**
     * @return Map of tags to assigned to the resource.
     * 
     */
    public Optional<Output<Map<String,String>>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetVpcIamPoolArgs() {}

    private GetVpcIamPoolArgs(GetVpcIamPoolArgs $) {
        this.allocationResourceTags = $.allocationResourceTags;
        this.filters = $.filters;
        this.id = $.id;
        this.ipamPoolId = $.ipamPoolId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetVpcIamPoolArgs $;

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

        public Builder(GetVpcIamPoolArgs defaults) {
            $ = new GetVpcIamPoolArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param allocationResourceTags Tags that are required to create resources in using this pool.
         * 
         * @return builder
         * 
         */
        public Builder allocationResourceTags(@Nullable Output<Map<String,String>> allocationResourceTags) {
            $.allocationResourceTags = allocationResourceTags;
            return this;
        }

        /**
         * @param allocationResourceTags Tags that are required to create resources in using this pool.
         * 
         * @return builder
         * 
         */
        public Builder allocationResourceTags(Map<String,String> allocationResourceTags) {
            return allocationResourceTags(Output.of(allocationResourceTags));
        }

        /**
         * @param filters Custom filter block as described below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable Output<List<GetVpcIamPoolFilterArgs>> filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Custom filter block as described below.
         * 
         * @return builder
         * 
         */
        public Builder filters(List<GetVpcIamPoolFilterArgs> filters) {
            return filters(Output.of(filters));
        }

        /**
         * @param filters Custom filter block as described below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetVpcIamPoolFilterArgs... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param id ID of the IPAM pool.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output<String> id) {
            $.id = id;
            return this;
        }

        /**
         * @param id ID of the IPAM pool.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param ipamPoolId ID of the IPAM pool you would like information on.
         * 
         * @return builder
         * 
         */
        public Builder ipamPoolId(@Nullable Output<String> ipamPoolId) {
            $.ipamPoolId = ipamPoolId;
            return this;
        }

        /**
         * @param ipamPoolId ID of the IPAM pool you would like information on.
         * 
         * @return builder
         * 
         */
        public Builder ipamPoolId(String ipamPoolId) {
            return ipamPoolId(Output.of(ipamPoolId));
        }

        /**
         * @param tags Map of tags to assigned to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output<Map<String,String>> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Map of tags to assigned to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map<String,String> tags) {
            return tags(Output.of(tags));
        }

        public GetVpcIamPoolArgs build() {
            return $;
        }
    }

}
