All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.route53.ResolverQueryLogConfigAssociationArgs Maven / Gradle / Ivy

// *** 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;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ResolverQueryLogConfigAssociationArgs Empty = new ResolverQueryLogConfigAssociationArgs();

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

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

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

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

    private ResolverQueryLogConfigAssociationArgs() {}

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

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

    public static final class Builder {
        private ResolverQueryLogConfigAssociationArgs $;

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

        public Builder(ResolverQueryLogConfigAssociationArgs defaults) {
            $ = new ResolverQueryLogConfigAssociationArgs(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(Output 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(Output 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 ResolverQueryLogConfigAssociationArgs build() {
            if ($.resolverQueryLogConfigId == null) {
                throw new MissingRequiredPropertyException("ResolverQueryLogConfigAssociationArgs", "resolverQueryLogConfigId");
            }
            if ($.resourceId == null) {
                throw new MissingRequiredPropertyException("ResolverQueryLogConfigAssociationArgs", "resourceId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy