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

com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs 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.networkfirewall.inputs;

import com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionArgs;
import com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs Empty = new RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs();

    /**
     * Set of configuration blocks containing custom action definitions that are available for use by the set of `stateless rule`. See Custom Action below for details.
     * 
     */
    @Import(name="customActions")
    private @Nullable Output> customActions;

    /**
     * @return Set of configuration blocks containing custom action definitions that are available for use by the set of `stateless rule`. See Custom Action below for details.
     * 
     */
    public Optional>> customActions() {
        return Optional.ofNullable(this.customActions);
    }

    /**
     * Set of configuration blocks containing the stateless rules for use in the stateless rule group. See Stateless Rule below for details.
     * 
     */
    @Import(name="statelessRules", required=true)
    private Output> statelessRules;

    /**
     * @return Set of configuration blocks containing the stateless rules for use in the stateless rule group. See Stateless Rule below for details.
     * 
     */
    public Output> statelessRules() {
        return this.statelessRules;
    }

    private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs() {}

    private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs $) {
        this.customActions = $.customActions;
        this.statelessRules = $.statelessRules;
    }

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

    public static final class Builder {
        private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs $;

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

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

        /**
         * @param customActions Set of configuration blocks containing custom action definitions that are available for use by the set of `stateless rule`. See Custom Action below for details.
         * 
         * @return builder
         * 
         */
        public Builder customActions(@Nullable Output> customActions) {
            $.customActions = customActions;
            return this;
        }

        /**
         * @param customActions Set of configuration blocks containing custom action definitions that are available for use by the set of `stateless rule`. See Custom Action below for details.
         * 
         * @return builder
         * 
         */
        public Builder customActions(List customActions) {
            return customActions(Output.of(customActions));
        }

        /**
         * @param customActions Set of configuration blocks containing custom action definitions that are available for use by the set of `stateless rule`. See Custom Action below for details.
         * 
         * @return builder
         * 
         */
        public Builder customActions(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionArgs... customActions) {
            return customActions(List.of(customActions));
        }

        /**
         * @param statelessRules Set of configuration blocks containing the stateless rules for use in the stateless rule group. See Stateless Rule below for details.
         * 
         * @return builder
         * 
         */
        public Builder statelessRules(Output> statelessRules) {
            $.statelessRules = statelessRules;
            return this;
        }

        /**
         * @param statelessRules Set of configuration blocks containing the stateless rules for use in the stateless rule group. See Stateless Rule below for details.
         * 
         * @return builder
         * 
         */
        public Builder statelessRules(List statelessRules) {
            return statelessRules(Output.of(statelessRules));
        }

        /**
         * @param statelessRules Set of configuration blocks containing the stateless rules for use in the stateless rule group. See Stateless Rule below for details.
         * 
         * @return builder
         * 
         */
        public Builder statelessRules(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs... statelessRules) {
            return statelessRules(List.of(statelessRules));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy