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

    public static final GetVpnGatewayPlainArgs Empty = new GetVpnGatewayPlainArgs();

    /**
     * Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to retrieve.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    @Import(name="amazonSideAsn")
    private @Nullable String amazonSideAsn;

    /**
     * @return Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to retrieve.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    public Optional<String> amazonSideAsn() {
        return Optional.ofNullable(this.amazonSideAsn);
    }

    /**
     * ID of a VPC attached to the specific VPN Gateway to retrieve.
     * 
     */
    @Import(name="attachedVpcId")
    private @Nullable String attachedVpcId;

    /**
     * @return ID of a VPC attached to the specific VPN Gateway to retrieve.
     * 
     */
    public Optional<String> attachedVpcId() {
        return Optional.ofNullable(this.attachedVpcId);
    }

    /**
     * Availability Zone of the specific VPN Gateway to retrieve.
     * 
     */
    @Import(name="availabilityZone")
    private @Nullable String availabilityZone;

    /**
     * @return Availability Zone of the specific VPN Gateway to retrieve.
     * 
     */
    public Optional<String> availabilityZone() {
        return Optional.ofNullable(this.availabilityZone);
    }

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

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

    /**
     * ID of the specific VPN Gateway to retrieve.
     * 
     */
    @Import(name="id")
    private @Nullable String id;

    /**
     * @return ID of the specific VPN Gateway to retrieve.
     * 
     */
    public Optional<String> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * State of the specific VPN Gateway to retrieve.
     * 
     */
    @Import(name="state")
    private @Nullable String state;

    /**
     * @return State of the specific VPN Gateway to retrieve.
     * 
     */
    public Optional<String> state() {
        return Optional.ofNullable(this.state);
    }

    /**
     * Map of tags, each pair of which must exactly match
     * a pair on the desired VPN Gateway.
     * 
     */
    @Import(name="tags")
    private @Nullable Map<String,String> tags;

    /**
     * @return Map of tags, each pair of which must exactly match
     * a pair on the desired VPN Gateway.
     * 
     */
    public Optional<Map<String,String>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetVpnGatewayPlainArgs() {}

    private GetVpnGatewayPlainArgs(GetVpnGatewayPlainArgs $) {
        this.amazonSideAsn = $.amazonSideAsn;
        this.attachedVpcId = $.attachedVpcId;
        this.availabilityZone = $.availabilityZone;
        this.filters = $.filters;
        this.id = $.id;
        this.state = $.state;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetVpnGatewayPlainArgs $;

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

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

        /**
         * @param amazonSideAsn Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to retrieve.
         * 
         * More complex filters can be expressed using one or more `filter` sub-blocks,
         * which take the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder amazonSideAsn(@Nullable String amazonSideAsn) {
            $.amazonSideAsn = amazonSideAsn;
            return this;
        }

        /**
         * @param attachedVpcId ID of a VPC attached to the specific VPN Gateway to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder attachedVpcId(@Nullable String attachedVpcId) {
            $.attachedVpcId = attachedVpcId;
            return this;
        }

        /**
         * @param availabilityZone Availability Zone of the specific VPN Gateway to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZone(@Nullable String availabilityZone) {
            $.availabilityZone = availabilityZone;
            return this;
        }

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

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

        /**
         * @param id ID of the specific VPN Gateway to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable String id) {
            $.id = id;
            return this;
        }

        /**
         * @param state State of the specific VPN Gateway to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable String state) {
            $.state = state;
            return this;
        }

        /**
         * @param tags Map of tags, each pair of which must exactly match
         * a pair on the desired VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map<String,String> tags) {
            $.tags = tags;
            return this;
        }

        public GetVpnGatewayPlainArgs build() {
            return $;
        }
    }

}
