// *** 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.GetCustomerGatewayFilterArgs;
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 GetCustomerGatewayArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCustomerGatewayArgs Empty = new GetCustomerGatewayArgs();

    /**
     * One or more [name-value pairs][dcg-filters] to filter by.
     * 
     * [dcg-filters]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html
     * 
     */
    @Import(name="filters")
    private @Nullable Output<List<GetCustomerGatewayFilterArgs>> filters;

    /**
     * @return One or more [name-value pairs][dcg-filters] to filter by.
     * 
     * [dcg-filters]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html
     * 
     */
    public Optional<Output<List<GetCustomerGatewayFilterArgs>>> filters() {
        return Optional.ofNullable(this.filters);
    }

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

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

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

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

    private GetCustomerGatewayArgs() {}

    private GetCustomerGatewayArgs(GetCustomerGatewayArgs $) {
        this.filters = $.filters;
        this.id = $.id;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetCustomerGatewayArgs $;

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

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

        /**
         * @param filters One or more [name-value pairs][dcg-filters] to filter by.
         * 
         * [dcg-filters]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable Output<List<GetCustomerGatewayFilterArgs>> filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters One or more [name-value pairs][dcg-filters] to filter by.
         * 
         * [dcg-filters]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html
         * 
         * @return builder
         * 
         */
        public Builder filters(List<GetCustomerGatewayFilterArgs> filters) {
            return filters(Output.of(filters));
        }

        /**
         * @param filters One or more [name-value pairs][dcg-filters] to filter by.
         * 
         * [dcg-filters]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html
         * 
         * @return builder
         * 
         */
        public Builder filters(GetCustomerGatewayFilterArgs... filters) {
            return filters(List.of(filters));
        }

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

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

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

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

        public GetCustomerGatewayArgs build() {
            return $;
        }
    }

}
