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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ResolverQueryLogConfigAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final ResolverQueryLogConfigAssociationState Empty = new ResolverQueryLogConfigAssociationState();

    /**
     * The ID of the Route 53 Resolver query logging configuration that you want to associate a VPC with.
     * 
     */
    @Import(name="resolverQueryLogConfigId")
    private @Nullable Output<String> resolverQueryLogConfigId;

    /**
     * @return The ID of the Route 53 Resolver query logging configuration that you want to associate a VPC with.
     * 
     */
    public Optional<Output<String>> resolverQueryLogConfigId() {
        return Optional.ofNullable(this.resolverQueryLogConfigId);
    }

    /**
     * The ID of a VPC that you want this query logging configuration to log queries for.
     * 
     */
    @Import(name="resourceId")
    private @Nullable Output<String> resourceId;

    /**
     * @return The ID of a VPC that you want this query logging configuration to log queries for.
     * 
     */
    public Optional<Output<String>> resourceId() {
        return Optional.ofNullable(this.resourceId);
    }

    private ResolverQueryLogConfigAssociationState() {}

    private ResolverQueryLogConfigAssociationState(ResolverQueryLogConfigAssociationState $) {
        this.resolverQueryLogConfigId = $.resolverQueryLogConfigId;
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private ResolverQueryLogConfigAssociationState $;

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

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

        /**
         * @param resolverQueryLogConfigId The ID of the Route 53 Resolver query logging configuration that you want to associate a VPC with.
         * 
         * @return builder
         * 
         */
        public Builder resolverQueryLogConfigId(@Nullable Output<String> resolverQueryLogConfigId) {
            $.resolverQueryLogConfigId = resolverQueryLogConfigId;
            return this;
        }

        /**
         * @param resolverQueryLogConfigId The ID of the Route 53 Resolver query logging configuration that you want to associate a VPC with.
         * 
         * @return builder
         * 
         */
        public Builder resolverQueryLogConfigId(String resolverQueryLogConfigId) {
            return resolverQueryLogConfigId(Output.of(resolverQueryLogConfigId));
        }

        /**
         * @param resourceId The ID of a VPC that you want this query logging configuration to log queries for.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(@Nullable Output<String> resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId The ID of a VPC that you want this query logging configuration to log queries for.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        public ResolverQueryLogConfigAssociationState build() {
            return $;
        }
    }

}
