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

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

import com.pulumi.aws.wafregional.inputs.ByteMatchSetByteMatchTupleArgs;
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 ByteMatchSetState extends com.pulumi.resources.ResourceArgs {

    public static final ByteMatchSetState Empty = new ByteMatchSetState();

    /**
     * Settings for the ByteMatchSet, such as the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests. ByteMatchTuple documented below.
     * 
     */
    @Import(name="byteMatchTuples")
    private @Nullable Output> byteMatchTuples;

    /**
     * @return Settings for the ByteMatchSet, such as the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests. ByteMatchTuple documented below.
     * 
     */
    public Optional>> byteMatchTuples() {
        return Optional.ofNullable(this.byteMatchTuples);
    }

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

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

    private ByteMatchSetState() {}

    private ByteMatchSetState(ByteMatchSetState $) {
        this.byteMatchTuples = $.byteMatchTuples;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ByteMatchSetState $;

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

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

        /**
         * @param byteMatchTuples Settings for the ByteMatchSet, such as the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests. ByteMatchTuple documented below.
         * 
         * @return builder
         * 
         */
        public Builder byteMatchTuples(@Nullable Output> byteMatchTuples) {
            $.byteMatchTuples = byteMatchTuples;
            return this;
        }

        /**
         * @param byteMatchTuples Settings for the ByteMatchSet, such as the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests. ByteMatchTuple documented below.
         * 
         * @return builder
         * 
         */
        public Builder byteMatchTuples(List byteMatchTuples) {
            return byteMatchTuples(Output.of(byteMatchTuples));
        }

        /**
         * @param byteMatchTuples Settings for the ByteMatchSet, such as the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests. ByteMatchTuple documented below.
         * 
         * @return builder
         * 
         */
        public Builder byteMatchTuples(ByteMatchSetByteMatchTupleArgs... byteMatchTuples) {
            return byteMatchTuples(List.of(byteMatchTuples));
        }

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

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

        public ByteMatchSetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy