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

com.pulumi.aws.wafv2.inputs.WebAclRuleStatementAndStatementArgs 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.WebAclRuleStatementArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;


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

    public static final WebAclRuleStatementAndStatementArgs Empty = new WebAclRuleStatementAndStatementArgs();

    /**
     * The statements to combine.
     * 
     */
    @Import(name="statements", required=true)
    private Output> statements;

    /**
     * @return The statements to combine.
     * 
     */
    public Output> statements() {
        return this.statements;
    }

    private WebAclRuleStatementAndStatementArgs() {}

    private WebAclRuleStatementAndStatementArgs(WebAclRuleStatementAndStatementArgs $) {
        this.statements = $.statements;
    }

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

    public static final class Builder {
        private WebAclRuleStatementAndStatementArgs $;

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

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

        /**
         * @param statements The statements to combine.
         * 
         * @return builder
         * 
         */
        public Builder statements(Output> statements) {
            $.statements = statements;
            return this;
        }

        /**
         * @param statements The statements to combine.
         * 
         * @return builder
         * 
         */
        public Builder statements(List statements) {
            return statements(Output.of(statements));
        }

        /**
         * @param statements The statements to combine.
         * 
         * @return builder
         * 
         */
        public Builder statements(WebAclRuleStatementArgs... statements) {
            return statements(List.of(statements));
        }

        public WebAclRuleStatementAndStatementArgs build() {
            if ($.statements == null) {
                throw new MissingRequiredPropertyException("WebAclRuleStatementAndStatementArgs", "statements");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy