// *** 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.Boolean;
import java.lang.String;
import java.util.Objects;


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

    public static final RulePredicateArgs Empty = new RulePredicateArgs();

    @Import(name="dataId", required=true)
    private Output<String> dataId;

    public Output<String> dataId() {
        return this.dataId;
    }

    @Import(name="negated", required=true)
    private Output<Boolean> negated;

    public Output<Boolean> negated() {
        return this.negated;
    }

    @Import(name="type", required=true)
    private Output<String> type;

    public Output<String> type() {
        return this.type;
    }

    private RulePredicateArgs() {}

    private RulePredicateArgs(RulePredicateArgs $) {
        this.dataId = $.dataId;
        this.negated = $.negated;
        this.type = $.type;
    }

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

    public static final class Builder {
        private RulePredicateArgs $;

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

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

        public Builder dataId(Output<String> dataId) {
            $.dataId = dataId;
            return this;
        }

        public Builder dataId(String dataId) {
            return dataId(Output.of(dataId));
        }

        public Builder negated(Output<Boolean> negated) {
            $.negated = negated;
            return this;
        }

        public Builder negated(Boolean negated) {
            return negated(Output.of(negated));
        }

        public Builder type(Output<String> type) {
            $.type = type;
            return this;
        }

        public Builder type(String type) {
            return type(Output.of(type));
        }

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

}
