
com.azure.resourcemanager.monitor.models.DynamicThresholdOperator Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.monitor.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* The operator used to compare the metric value against the threshold.
*/
public final class DynamicThresholdOperator extends ExpandableStringEnum {
/**
* Static value GreaterThan for DynamicThresholdOperator.
*/
public static final DynamicThresholdOperator GREATER_THAN = fromString("GreaterThan");
/**
* Static value LessThan for DynamicThresholdOperator.
*/
public static final DynamicThresholdOperator LESS_THAN = fromString("LessThan");
/**
* Static value GreaterOrLessThan for DynamicThresholdOperator.
*/
public static final DynamicThresholdOperator GREATER_OR_LESS_THAN = fromString("GreaterOrLessThan");
/**
* Creates a new instance of DynamicThresholdOperator value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public DynamicThresholdOperator() {
}
/**
* Creates or finds a DynamicThresholdOperator from its string representation.
*
* @param name a name to look for.
* @return the corresponding DynamicThresholdOperator.
*/
@JsonCreator
public static DynamicThresholdOperator fromString(String name) {
return fromString(name, DynamicThresholdOperator.class);
}
/**
* Gets known DynamicThresholdOperator values.
*
* @return known DynamicThresholdOperator values.
*/
public static Collection values() {
return values(DynamicThresholdOperator.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy