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

com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.monitoring.inputs;

import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionAlertContextArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionAlertRuleIdArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionAlertRuleNameArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionDescriptionArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionMonitorConditionArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionMonitorServiceArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionSeverityArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionSignalTypeArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionTargetResourceArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionTargetResourceGroupArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs;
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 AlertProcessingRuleSuppressionConditionArgs extends com.pulumi.resources.ResourceArgs {

    public static final AlertProcessingRuleSuppressionConditionArgs Empty = new AlertProcessingRuleSuppressionConditionArgs();

    /**
     * A `alert_context` block as defined above.
     * 
     */
    @Import(name="alertContext")
    private @Nullable Output alertContext;

    /**
     * @return A `alert_context` block as defined above.
     * 
     */
    public Optional> alertContext() {
        return Optional.ofNullable(this.alertContext);
    }

    /**
     * A `alert_rule_id` block as defined above.
     * 
     */
    @Import(name="alertRuleId")
    private @Nullable Output alertRuleId;

    /**
     * @return A `alert_rule_id` block as defined above.
     * 
     */
    public Optional> alertRuleId() {
        return Optional.ofNullable(this.alertRuleId);
    }

    /**
     * A `alert_rule_name` block as defined above.
     * 
     */
    @Import(name="alertRuleName")
    private @Nullable Output alertRuleName;

    /**
     * @return A `alert_rule_name` block as defined above.
     * 
     */
    public Optional> alertRuleName() {
        return Optional.ofNullable(this.alertRuleName);
    }

    /**
     * A `description` block as defined below.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A `description` block as defined below.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * A `monitor_condition` block as defined below.
     * 
     */
    @Import(name="monitorCondition")
    private @Nullable Output monitorCondition;

    /**
     * @return A `monitor_condition` block as defined below.
     * 
     */
    public Optional> monitorCondition() {
        return Optional.ofNullable(this.monitorCondition);
    }

    /**
     * A `monitor_service` block as defined below.
     * 
     */
    @Import(name="monitorService")
    private @Nullable Output monitorService;

    /**
     * @return A `monitor_service` block as defined below.
     * 
     */
    public Optional> monitorService() {
        return Optional.ofNullable(this.monitorService);
    }

    /**
     * A `severity` block as defined below.
     * 
     */
    @Import(name="severity")
    private @Nullable Output severity;

    /**
     * @return A `severity` block as defined below.
     * 
     */
    public Optional> severity() {
        return Optional.ofNullable(this.severity);
    }

    /**
     * A `signal_type` block as defined below.
     * 
     */
    @Import(name="signalType")
    private @Nullable Output signalType;

    /**
     * @return A `signal_type` block as defined below.
     * 
     */
    public Optional> signalType() {
        return Optional.ofNullable(this.signalType);
    }

    /**
     * A `target_resource` block as defined below.
     * 
     */
    @Import(name="targetResource")
    private @Nullable Output targetResource;

    /**
     * @return A `target_resource` block as defined below.
     * 
     */
    public Optional> targetResource() {
        return Optional.ofNullable(this.targetResource);
    }

    /**
     * A `target_resource_group` block as defined below.
     * 
     */
    @Import(name="targetResourceGroup")
    private @Nullable Output targetResourceGroup;

    /**
     * @return A `target_resource_group` block as defined below.
     * 
     */
    public Optional> targetResourceGroup() {
        return Optional.ofNullable(this.targetResourceGroup);
    }

    /**
     * A `target_resource_type` block as defined below.
     * 
     */
    @Import(name="targetResourceType")
    private @Nullable Output targetResourceType;

    /**
     * @return A `target_resource_type` block as defined below.
     * 
     */
    public Optional> targetResourceType() {
        return Optional.ofNullable(this.targetResourceType);
    }

    private AlertProcessingRuleSuppressionConditionArgs() {}

    private AlertProcessingRuleSuppressionConditionArgs(AlertProcessingRuleSuppressionConditionArgs $) {
        this.alertContext = $.alertContext;
        this.alertRuleId = $.alertRuleId;
        this.alertRuleName = $.alertRuleName;
        this.description = $.description;
        this.monitorCondition = $.monitorCondition;
        this.monitorService = $.monitorService;
        this.severity = $.severity;
        this.signalType = $.signalType;
        this.targetResource = $.targetResource;
        this.targetResourceGroup = $.targetResourceGroup;
        this.targetResourceType = $.targetResourceType;
    }

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

    public static final class Builder {
        private AlertProcessingRuleSuppressionConditionArgs $;

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

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

        /**
         * @param alertContext A `alert_context` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder alertContext(@Nullable Output alertContext) {
            $.alertContext = alertContext;
            return this;
        }

        /**
         * @param alertContext A `alert_context` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder alertContext(AlertProcessingRuleSuppressionConditionAlertContextArgs alertContext) {
            return alertContext(Output.of(alertContext));
        }

        /**
         * @param alertRuleId A `alert_rule_id` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder alertRuleId(@Nullable Output alertRuleId) {
            $.alertRuleId = alertRuleId;
            return this;
        }

        /**
         * @param alertRuleId A `alert_rule_id` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder alertRuleId(AlertProcessingRuleSuppressionConditionAlertRuleIdArgs alertRuleId) {
            return alertRuleId(Output.of(alertRuleId));
        }

        /**
         * @param alertRuleName A `alert_rule_name` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder alertRuleName(@Nullable Output alertRuleName) {
            $.alertRuleName = alertRuleName;
            return this;
        }

        /**
         * @param alertRuleName A `alert_rule_name` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder alertRuleName(AlertProcessingRuleSuppressionConditionAlertRuleNameArgs alertRuleName) {
            return alertRuleName(Output.of(alertRuleName));
        }

        /**
         * @param description A `description` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A `description` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder description(AlertProcessingRuleSuppressionConditionDescriptionArgs description) {
            return description(Output.of(description));
        }

        /**
         * @param monitorCondition A `monitor_condition` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder monitorCondition(@Nullable Output monitorCondition) {
            $.monitorCondition = monitorCondition;
            return this;
        }

        /**
         * @param monitorCondition A `monitor_condition` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder monitorCondition(AlertProcessingRuleSuppressionConditionMonitorConditionArgs monitorCondition) {
            return monitorCondition(Output.of(monitorCondition));
        }

        /**
         * @param monitorService A `monitor_service` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder monitorService(@Nullable Output monitorService) {
            $.monitorService = monitorService;
            return this;
        }

        /**
         * @param monitorService A `monitor_service` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder monitorService(AlertProcessingRuleSuppressionConditionMonitorServiceArgs monitorService) {
            return monitorService(Output.of(monitorService));
        }

        /**
         * @param severity A `severity` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder severity(@Nullable Output severity) {
            $.severity = severity;
            return this;
        }

        /**
         * @param severity A `severity` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder severity(AlertProcessingRuleSuppressionConditionSeverityArgs severity) {
            return severity(Output.of(severity));
        }

        /**
         * @param signalType A `signal_type` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder signalType(@Nullable Output signalType) {
            $.signalType = signalType;
            return this;
        }

        /**
         * @param signalType A `signal_type` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder signalType(AlertProcessingRuleSuppressionConditionSignalTypeArgs signalType) {
            return signalType(Output.of(signalType));
        }

        /**
         * @param targetResource A `target_resource` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder targetResource(@Nullable Output targetResource) {
            $.targetResource = targetResource;
            return this;
        }

        /**
         * @param targetResource A `target_resource` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder targetResource(AlertProcessingRuleSuppressionConditionTargetResourceArgs targetResource) {
            return targetResource(Output.of(targetResource));
        }

        /**
         * @param targetResourceGroup A `target_resource_group` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceGroup(@Nullable Output targetResourceGroup) {
            $.targetResourceGroup = targetResourceGroup;
            return this;
        }

        /**
         * @param targetResourceGroup A `target_resource_group` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceGroup(AlertProcessingRuleSuppressionConditionTargetResourceGroupArgs targetResourceGroup) {
            return targetResourceGroup(Output.of(targetResourceGroup));
        }

        /**
         * @param targetResourceType A `target_resource_type` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceType(@Nullable Output targetResourceType) {
            $.targetResourceType = targetResourceType;
            return this;
        }

        /**
         * @param targetResourceType A `target_resource_type` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceType(AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs targetResourceType) {
            return targetResourceType(Output.of(targetResourceType));
        }

        public AlertProcessingRuleSuppressionConditionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy