// *** 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.ec2transitgateway.inputs;

import com.pulumi.aws.ec2transitgateway.inputs.GetVpcAttachmentsFilter;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetVpcAttachmentsPlainArgs Empty = new GetVpcAttachmentsPlainArgs();

    /**
     * One or more configuration blocks containing name-values filters. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable List<GetVpcAttachmentsFilter> filters;

    /**
     * @return One or more configuration blocks containing name-values filters. Detailed below.
     * 
     */
    public Optional<List<GetVpcAttachmentsFilter>> filters() {
        return Optional.ofNullable(this.filters);
    }

    private GetVpcAttachmentsPlainArgs() {}

    private GetVpcAttachmentsPlainArgs(GetVpcAttachmentsPlainArgs $) {
        this.filters = $.filters;
    }

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

    public static final class Builder {
        private GetVpcAttachmentsPlainArgs $;

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

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

        /**
         * @param filters One or more configuration blocks containing name-values filters. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable List<GetVpcAttachmentsFilter> filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters One or more configuration blocks containing name-values filters. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetVpcAttachmentsFilter... filters) {
            return filters(List.of(filters));
        }

        public GetVpcAttachmentsPlainArgs build() {
            return $;
        }
    }

}
