// *** 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.WebAclLoggingConfigurationLoggingFilterFilterConditionActionConditionArgs;
import com.pulumi.aws.wafv2.inputs.WebAclLoggingConfigurationLoggingFilterFilterConditionLabelNameConditionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WebAclLoggingConfigurationLoggingFilterFilterConditionArgs Empty = new WebAclLoggingConfigurationLoggingFilterFilterConditionArgs();

    /**
     * A single action condition. See Action Condition below for more details.
     * 
     */
    @Import(name="actionCondition")
    private @Nullable Output<WebAclLoggingConfigurationLoggingFilterFilterConditionActionConditionArgs> actionCondition;

    /**
     * @return A single action condition. See Action Condition below for more details.
     * 
     */
    public Optional<Output<WebAclLoggingConfigurationLoggingFilterFilterConditionActionConditionArgs>> actionCondition() {
        return Optional.ofNullable(this.actionCondition);
    }

    /**
     * A single label name condition. See Label Name Condition below for more details.
     * 
     */
    @Import(name="labelNameCondition")
    private @Nullable Output<WebAclLoggingConfigurationLoggingFilterFilterConditionLabelNameConditionArgs> labelNameCondition;

    /**
     * @return A single label name condition. See Label Name Condition below for more details.
     * 
     */
    public Optional<Output<WebAclLoggingConfigurationLoggingFilterFilterConditionLabelNameConditionArgs>> labelNameCondition() {
        return Optional.ofNullable(this.labelNameCondition);
    }

    private WebAclLoggingConfigurationLoggingFilterFilterConditionArgs() {}

    private WebAclLoggingConfigurationLoggingFilterFilterConditionArgs(WebAclLoggingConfigurationLoggingFilterFilterConditionArgs $) {
        this.actionCondition = $.actionCondition;
        this.labelNameCondition = $.labelNameCondition;
    }

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

    public static final class Builder {
        private WebAclLoggingConfigurationLoggingFilterFilterConditionArgs $;

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

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

        /**
         * @param actionCondition A single action condition. See Action Condition below for more details.
         * 
         * @return builder
         * 
         */
        public Builder actionCondition(@Nullable Output<WebAclLoggingConfigurationLoggingFilterFilterConditionActionConditionArgs> actionCondition) {
            $.actionCondition = actionCondition;
            return this;
        }

        /**
         * @param actionCondition A single action condition. See Action Condition below for more details.
         * 
         * @return builder
         * 
         */
        public Builder actionCondition(WebAclLoggingConfigurationLoggingFilterFilterConditionActionConditionArgs actionCondition) {
            return actionCondition(Output.of(actionCondition));
        }

        /**
         * @param labelNameCondition A single label name condition. See Label Name Condition below for more details.
         * 
         * @return builder
         * 
         */
        public Builder labelNameCondition(@Nullable Output<WebAclLoggingConfigurationLoggingFilterFilterConditionLabelNameConditionArgs> labelNameCondition) {
            $.labelNameCondition = labelNameCondition;
            return this;
        }

        /**
         * @param labelNameCondition A single label name condition. See Label Name Condition below for more details.
         * 
         * @return builder
         * 
         */
        public Builder labelNameCondition(WebAclLoggingConfigurationLoggingFilterFilterConditionLabelNameConditionArgs labelNameCondition) {
            return labelNameCondition(Output.of(labelNameCondition));
        }

        public WebAclLoggingConfigurationLoggingFilterFilterConditionArgs build() {
            return $;
        }
    }

}
