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

    public static final GetNetworkInsightsAnalysisArgs Empty = new GetNetworkInsightsAnalysisArgs();

    /**
     * Configuration block(s) for filtering. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable Output<List<GetNetworkInsightsAnalysisFilterArgs>> filters;

    /**
     * @return Configuration block(s) for filtering. Detailed below.
     * 
     */
    public Optional<Output<List<GetNetworkInsightsAnalysisFilterArgs>>> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * ID of the Network Insights Analysis to select.
     * 
     */
    @Import(name="networkInsightsAnalysisId")
    private @Nullable Output<String> networkInsightsAnalysisId;

    /**
     * @return ID of the Network Insights Analysis to select.
     * 
     */
    public Optional<Output<String>> networkInsightsAnalysisId() {
        return Optional.ofNullable(this.networkInsightsAnalysisId);
    }

    @Import(name="tags")
    private @Nullable Output<Map<String,String>> tags;

    public Optional<Output<Map<String,String>>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetNetworkInsightsAnalysisArgs() {}

    private GetNetworkInsightsAnalysisArgs(GetNetworkInsightsAnalysisArgs $) {
        this.filters = $.filters;
        this.networkInsightsAnalysisId = $.networkInsightsAnalysisId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetNetworkInsightsAnalysisArgs $;

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

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

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable Output<List<GetNetworkInsightsAnalysisFilterArgs>> filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(List<GetNetworkInsightsAnalysisFilterArgs> filters) {
            return filters(Output.of(filters));
        }

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetNetworkInsightsAnalysisFilterArgs... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param networkInsightsAnalysisId ID of the Network Insights Analysis to select.
         * 
         * @return builder
         * 
         */
        public Builder networkInsightsAnalysisId(@Nullable Output<String> networkInsightsAnalysisId) {
            $.networkInsightsAnalysisId = networkInsightsAnalysisId;
            return this;
        }

        /**
         * @param networkInsightsAnalysisId ID of the Network Insights Analysis to select.
         * 
         * @return builder
         * 
         */
        public Builder networkInsightsAnalysisId(String networkInsightsAnalysisId) {
            return networkInsightsAnalysisId(Output.of(networkInsightsAnalysisId));
        }

        public Builder tags(@Nullable Output<Map<String,String>> tags) {
            $.tags = tags;
            return this;
        }

        public Builder tags(Map<String,String> tags) {
            return tags(Output.of(tags));
        }

        public GetNetworkInsightsAnalysisArgs build() {
            return $;
        }
    }

}
