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

com.pulumi.sumologic.inputs.MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs Maven / Gradle / Ivy

The 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.sumologic.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs Empty = new MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs();

    @Import(name="minDataPoints")
    private @Nullable Output minDataPoints;

    public Optional> minDataPoints() {
        return Optional.ofNullable(this.minDataPoints);
    }

    @Import(name="occurrenceType")
    private @Nullable Output occurrenceType;

    public Optional> occurrenceType() {
        return Optional.ofNullable(this.occurrenceType);
    }

    @Import(name="threshold")
    private @Nullable Output threshold;

    public Optional> threshold() {
        return Optional.ofNullable(this.threshold);
    }

    @Import(name="thresholdType")
    private @Nullable Output thresholdType;

    public Optional> thresholdType() {
        return Optional.ofNullable(this.thresholdType);
    }

    private MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs() {}

    private MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs(MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs $) {
        this.minDataPoints = $.minDataPoints;
        this.occurrenceType = $.occurrenceType;
        this.threshold = $.threshold;
        this.thresholdType = $.thresholdType;
    }

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

    public static final class Builder {
        private MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs $;

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

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

        public Builder minDataPoints(@Nullable Output minDataPoints) {
            $.minDataPoints = minDataPoints;
            return this;
        }

        public Builder minDataPoints(Integer minDataPoints) {
            return minDataPoints(Output.of(minDataPoints));
        }

        public Builder occurrenceType(@Nullable Output occurrenceType) {
            $.occurrenceType = occurrenceType;
            return this;
        }

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

        public Builder threshold(@Nullable Output threshold) {
            $.threshold = threshold;
            return this;
        }

        public Builder threshold(Double threshold) {
            return threshold(Output.of(threshold));
        }

        public Builder thresholdType(@Nullable Output thresholdType) {
            $.thresholdType = thresholdType;
            return this;
        }

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

        public MonitorTriggerConditionsMetricsStaticConditionWarningResolutionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy