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

com.pulumi.aws.waf.inputs.XssMatchSetState 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.waf.inputs;

import com.pulumi.aws.waf.inputs.XssMatchSetXssMatchTupleArgs;
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 XssMatchSetState extends com.pulumi.resources.ResourceArgs {

    public static final XssMatchSetState Empty = new XssMatchSetState();

    /**
     * Amazon Resource Name (ARN)
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN)
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

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

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

    /**
     * The parts of web requests that you want to inspect for cross-site scripting attacks.
     * 
     */
    @Import(name="xssMatchTuples")
    private @Nullable Output> xssMatchTuples;

    /**
     * @return The parts of web requests that you want to inspect for cross-site scripting attacks.
     * 
     */
    public Optional>> xssMatchTuples() {
        return Optional.ofNullable(this.xssMatchTuples);
    }

    private XssMatchSetState() {}

    private XssMatchSetState(XssMatchSetState $) {
        this.arn = $.arn;
        this.name = $.name;
        this.xssMatchTuples = $.xssMatchTuples;
    }

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

    public static final class Builder {
        private XssMatchSetState $;

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

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

        /**
         * @param arn Amazon Resource Name (ARN)
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN)
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

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

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

        /**
         * @param xssMatchTuples The parts of web requests that you want to inspect for cross-site scripting attacks.
         * 
         * @return builder
         * 
         */
        public Builder xssMatchTuples(@Nullable Output> xssMatchTuples) {
            $.xssMatchTuples = xssMatchTuples;
            return this;
        }

        /**
         * @param xssMatchTuples The parts of web requests that you want to inspect for cross-site scripting attacks.
         * 
         * @return builder
         * 
         */
        public Builder xssMatchTuples(List xssMatchTuples) {
            return xssMatchTuples(Output.of(xssMatchTuples));
        }

        /**
         * @param xssMatchTuples The parts of web requests that you want to inspect for cross-site scripting attacks.
         * 
         * @return builder
         * 
         */
        public Builder xssMatchTuples(XssMatchSetXssMatchTupleArgs... xssMatchTuples) {
            return xssMatchTuples(List.of(xssMatchTuples));
        }

        public XssMatchSetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy