// *** 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final RuleGroupActivatedRuleActionArgs Empty = new RuleGroupActivatedRuleActionArgs();

    /**
     * e.g., `BLOCK`, `ALLOW`, or `COUNT`
     * 
     */
    @Import(name="type", required=true)
    private Output<String> type;

    /**
     * @return e.g., `BLOCK`, `ALLOW`, or `COUNT`
     * 
     */
    public Output<String> type() {
        return this.type;
    }

    private RuleGroupActivatedRuleActionArgs() {}

    private RuleGroupActivatedRuleActionArgs(RuleGroupActivatedRuleActionArgs $) {
        this.type = $.type;
    }

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

    public static final class Builder {
        private RuleGroupActivatedRuleActionArgs $;

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

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

        /**
         * @param type e.g., `BLOCK`, `ALLOW`, or `COUNT`
         * 
         * @return builder
         * 
         */
        public Builder type(Output<String> type) {
            $.type = type;
            return this;
        }

        /**
         * @param type e.g., `BLOCK`, `ALLOW`, or `COUNT`
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public RuleGroupActivatedRuleActionArgs build() {
            $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null");
            return $;
        }
    }

}
