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

com.pulumi.aws.wafv2.inputs.WebAclLoggingConfigurationRedactedFieldArgs 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.60.0-alpha.1731982519
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.wafv2.inputs;

import com.pulumi.aws.wafv2.inputs.WebAclLoggingConfigurationRedactedFieldMethodArgs;
import com.pulumi.aws.wafv2.inputs.WebAclLoggingConfigurationRedactedFieldQueryStringArgs;
import com.pulumi.aws.wafv2.inputs.WebAclLoggingConfigurationRedactedFieldSingleHeaderArgs;
import com.pulumi.aws.wafv2.inputs.WebAclLoggingConfigurationRedactedFieldUriPathArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WebAclLoggingConfigurationRedactedFieldArgs Empty = new WebAclLoggingConfigurationRedactedFieldArgs();

    /**
     * HTTP method to be redacted. It must be specified as an empty configuration block `{}`. The method indicates the type of operation that the request is asking the origin to perform.
     * 
     */
    @Import(name="method")
    private @Nullable Output method;

    /**
     * @return HTTP method to be redacted. It must be specified as an empty configuration block `{}`. The method indicates the type of operation that the request is asking the origin to perform.
     * 
     */
    public Optional> method() {
        return Optional.ofNullable(this.method);
    }

    /**
     * Whether to redact the query string. It must be specified as an empty configuration block `{}`. The query string is the part of a URL that appears after a `?` character, if any.
     * 
     */
    @Import(name="queryString")
    private @Nullable Output queryString;

    /**
     * @return Whether to redact the query string. It must be specified as an empty configuration block `{}`. The query string is the part of a URL that appears after a `?` character, if any.
     * 
     */
    public Optional> queryString() {
        return Optional.ofNullable(this.queryString);
    }

    /**
     * "single_header" refers to the redaction of a single header. For more information, please see the details below under Single Header.
     * 
     */
    @Import(name="singleHeader")
    private @Nullable Output singleHeader;

    /**
     * @return "single_header" refers to the redaction of a single header. For more information, please see the details below under Single Header.
     * 
     */
    public Optional> singleHeader() {
        return Optional.ofNullable(this.singleHeader);
    }

    /**
     * Configuration block that redacts the request URI path. It should be specified as an empty configuration block `{}`. The URI path is the part of a web request that identifies a resource, such as `/images/daily-ad.jpg`.
     * 
     */
    @Import(name="uriPath")
    private @Nullable Output uriPath;

    /**
     * @return Configuration block that redacts the request URI path. It should be specified as an empty configuration block `{}`. The URI path is the part of a web request that identifies a resource, such as `/images/daily-ad.jpg`.
     * 
     */
    public Optional> uriPath() {
        return Optional.ofNullable(this.uriPath);
    }

    private WebAclLoggingConfigurationRedactedFieldArgs() {}

    private WebAclLoggingConfigurationRedactedFieldArgs(WebAclLoggingConfigurationRedactedFieldArgs $) {
        this.method = $.method;
        this.queryString = $.queryString;
        this.singleHeader = $.singleHeader;
        this.uriPath = $.uriPath;
    }

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

    public static final class Builder {
        private WebAclLoggingConfigurationRedactedFieldArgs $;

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

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

        /**
         * @param method HTTP method to be redacted. It must be specified as an empty configuration block `{}`. The method indicates the type of operation that the request is asking the origin to perform.
         * 
         * @return builder
         * 
         */
        public Builder method(@Nullable Output method) {
            $.method = method;
            return this;
        }

        /**
         * @param method HTTP method to be redacted. It must be specified as an empty configuration block `{}`. The method indicates the type of operation that the request is asking the origin to perform.
         * 
         * @return builder
         * 
         */
        public Builder method(WebAclLoggingConfigurationRedactedFieldMethodArgs method) {
            return method(Output.of(method));
        }

        /**
         * @param queryString Whether to redact the query string. It must be specified as an empty configuration block `{}`. The query string is the part of a URL that appears after a `?` character, if any.
         * 
         * @return builder
         * 
         */
        public Builder queryString(@Nullable Output queryString) {
            $.queryString = queryString;
            return this;
        }

        /**
         * @param queryString Whether to redact the query string. It must be specified as an empty configuration block `{}`. The query string is the part of a URL that appears after a `?` character, if any.
         * 
         * @return builder
         * 
         */
        public Builder queryString(WebAclLoggingConfigurationRedactedFieldQueryStringArgs queryString) {
            return queryString(Output.of(queryString));
        }

        /**
         * @param singleHeader "single_header" refers to the redaction of a single header. For more information, please see the details below under Single Header.
         * 
         * @return builder
         * 
         */
        public Builder singleHeader(@Nullable Output singleHeader) {
            $.singleHeader = singleHeader;
            return this;
        }

        /**
         * @param singleHeader "single_header" refers to the redaction of a single header. For more information, please see the details below under Single Header.
         * 
         * @return builder
         * 
         */
        public Builder singleHeader(WebAclLoggingConfigurationRedactedFieldSingleHeaderArgs singleHeader) {
            return singleHeader(Output.of(singleHeader));
        }

        /**
         * @param uriPath Configuration block that redacts the request URI path. It should be specified as an empty configuration block `{}`. The URI path is the part of a web request that identifies a resource, such as `/images/daily-ad.jpg`.
         * 
         * @return builder
         * 
         */
        public Builder uriPath(@Nullable Output uriPath) {
            $.uriPath = uriPath;
            return this;
        }

        /**
         * @param uriPath Configuration block that redacts the request URI path. It should be specified as an empty configuration block `{}`. The URI path is the part of a web request that identifies a resource, such as `/images/daily-ad.jpg`.
         * 
         * @return builder
         * 
         */
        public Builder uriPath(WebAclLoggingConfigurationRedactedFieldUriPathArgs uriPath) {
            return uriPath(Output.of(uriPath));
        }

        public WebAclLoggingConfigurationRedactedFieldArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy