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

com.pulumi.aws.route53.inputs.GetQueryLogConfigPlainArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
Show newest version
// *** 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.aws.route53.inputs.GetQueryLogConfigFilter;
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 GetQueryLogConfigPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetQueryLogConfigPlainArgs Empty = new GetQueryLogConfigPlainArgs();

    /**
     * One or more name/value pairs to use as filters. There are
     * several valid keys, for a full reference, check out
     * [Route53resolver Filter value in the AWS API reference][1].
     * 
     * In addition to all arguments above, the following attributes are exported:
     * 
     */
    @Import(name="filters")
    private @Nullable List filters;

    /**
     * @return One or more name/value pairs to use as filters. There are
     * several valid keys, for a full reference, check out
     * [Route53resolver Filter value in the AWS API reference][1].
     * 
     * In addition to all arguments above, the following attributes are exported:
     * 
     */
    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * The name of the query logging configuration.
     * 
     */
    @Import(name="name")
    private @Nullable String name;

    /**
     * @return The name of the query logging configuration.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * ID of the Route53 Resolver Query Logging Configuration.
     * 
     */
    @Import(name="resolverQueryLogConfigId")
    private @Nullable String resolverQueryLogConfigId;

    /**
     * @return ID of the Route53 Resolver Query Logging Configuration.
     * 
     */
    public Optional resolverQueryLogConfigId() {
        return Optional.ofNullable(this.resolverQueryLogConfigId);
    }

    /**
     * Map of tags to assign to the service.
     * 
     * [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_Filter.html
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Map of tags to assign to the service.
     * 
     * [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_Filter.html
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetQueryLogConfigPlainArgs() {}

    private GetQueryLogConfigPlainArgs(GetQueryLogConfigPlainArgs $) {
        this.filters = $.filters;
        this.name = $.name;
        this.resolverQueryLogConfigId = $.resolverQueryLogConfigId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetQueryLogConfigPlainArgs $;

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

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

        /**
         * @param filters One or more name/value pairs to use as filters. There are
         * several valid keys, for a full reference, check out
         * [Route53resolver Filter value in the AWS API reference][1].
         * 
         * In addition to all arguments above, the following attributes are exported:
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable List filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters One or more name/value pairs to use as filters. There are
         * several valid keys, for a full reference, check out
         * [Route53resolver Filter value in the AWS API reference][1].
         * 
         * In addition to all arguments above, the following attributes are exported:
         * 
         * @return builder
         * 
         */
        public Builder filters(GetQueryLogConfigFilter... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param name The name of the query logging configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable String name) {
            $.name = name;
            return this;
        }

        /**
         * @param resolverQueryLogConfigId ID of the Route53 Resolver Query Logging Configuration.
         * 
         * @return builder
         * 
         */
        public Builder resolverQueryLogConfigId(@Nullable String resolverQueryLogConfigId) {
            $.resolverQueryLogConfigId = resolverQueryLogConfigId;
            return this;
        }

        /**
         * @param tags Map of tags to assign to the service.
         * 
         * [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_Filter.html
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        public GetQueryLogConfigPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy