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

com.pulumi.aws.wafregional.inputs.RegexMatchSetState 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.wafregional.inputs;

import com.pulumi.aws.wafregional.inputs.RegexMatchSetRegexMatchTupleArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RegexMatchSetState Empty = new RegexMatchSetState();

    /**
     * The name or description of the Regex Match Set.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name or description of the Regex Match Set.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below.
     * 
     */
    @Import(name="regexMatchTuples")
    private @Nullable Output> regexMatchTuples;

    /**
     * @return The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below.
     * 
     */
    public Optional>> regexMatchTuples() {
        return Optional.ofNullable(this.regexMatchTuples);
    }

    private RegexMatchSetState() {}

    private RegexMatchSetState(RegexMatchSetState $) {
        this.name = $.name;
        this.regexMatchTuples = $.regexMatchTuples;
    }

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

    public static final class Builder {
        private RegexMatchSetState $;

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

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

        /**
         * @param name The name or description of the Regex Match Set.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name or description of the Regex Match Set.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param regexMatchTuples The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below.
         * 
         * @return builder
         * 
         */
        public Builder regexMatchTuples(@Nullable Output> regexMatchTuples) {
            $.regexMatchTuples = regexMatchTuples;
            return this;
        }

        /**
         * @param regexMatchTuples The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below.
         * 
         * @return builder
         * 
         */
        public Builder regexMatchTuples(List regexMatchTuples) {
            return regexMatchTuples(Output.of(regexMatchTuples));
        }

        /**
         * @param regexMatchTuples The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below.
         * 
         * @return builder
         * 
         */
        public Builder regexMatchTuples(RegexMatchSetRegexMatchTupleArgs... regexMatchTuples) {
            return regexMatchTuples(List.of(regexMatchTuples));
        }

        public RegexMatchSetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy