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

com.pulumi.azurenative.insights.inputs.AlertRuleAllOfConditionArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.insights.inputs;

import com.pulumi.azurenative.insights.inputs.AlertRuleAnyOfOrLeafConditionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;


/**
 * An Activity Log Alert rule condition that is met when all its member conditions are met.
 * 
 */
public final class AlertRuleAllOfConditionArgs extends com.pulumi.resources.ResourceArgs {

    public static final AlertRuleAllOfConditionArgs Empty = new AlertRuleAllOfConditionArgs();

    /**
     * The list of Activity Log Alert rule conditions.
     * 
     */
    @Import(name="allOf", required=true)
    private Output> allOf;

    /**
     * @return The list of Activity Log Alert rule conditions.
     * 
     */
    public Output> allOf() {
        return this.allOf;
    }

    private AlertRuleAllOfConditionArgs() {}

    private AlertRuleAllOfConditionArgs(AlertRuleAllOfConditionArgs $) {
        this.allOf = $.allOf;
    }

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

    public static final class Builder {
        private AlertRuleAllOfConditionArgs $;

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

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

        /**
         * @param allOf The list of Activity Log Alert rule conditions.
         * 
         * @return builder
         * 
         */
        public Builder allOf(Output> allOf) {
            $.allOf = allOf;
            return this;
        }

        /**
         * @param allOf The list of Activity Log Alert rule conditions.
         * 
         * @return builder
         * 
         */
        public Builder allOf(List allOf) {
            return allOf(Output.of(allOf));
        }

        /**
         * @param allOf The list of Activity Log Alert rule conditions.
         * 
         * @return builder
         * 
         */
        public Builder allOf(AlertRuleAnyOfOrLeafConditionArgs... allOf) {
            return allOf(List.of(allOf));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy