com.azure.resourcemanager.monitor.models.DynamicThresholdOperator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-monitor Show documentation
Show all versions of azure-resourcemanager-monitor Show documentation
This package contains Microsoft Azure Monitor SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
The newest version!
// 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 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.
*/
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