com.azure.resourcemanager.monitor.models.TimeAggregation 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
// 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;
/**
* Aggregation type. Relevant and required only for rules of the kind LogAlert.
*/
public final class TimeAggregation extends ExpandableStringEnum {
/**
* Static value Count for TimeAggregation.
*/
public static final TimeAggregation COUNT = fromString("Count");
/**
* Static value Average for TimeAggregation.
*/
public static final TimeAggregation AVERAGE = fromString("Average");
/**
* Static value Minimum for TimeAggregation.
*/
public static final TimeAggregation MINIMUM = fromString("Minimum");
/**
* Static value Maximum for TimeAggregation.
*/
public static final TimeAggregation MAXIMUM = fromString("Maximum");
/**
* Static value Total for TimeAggregation.
*/
public static final TimeAggregation TOTAL = fromString("Total");
/**
* Creates a new instance of TimeAggregation value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public TimeAggregation() {
}
/**
* Creates or finds a TimeAggregation from its string representation.
*
* @param name a name to look for.
* @return the corresponding TimeAggregation.
*/
public static TimeAggregation fromString(String name) {
return fromString(name, TimeAggregation.class);
}
/**
* Gets known TimeAggregation values.
*
* @return known TimeAggregation values.
*/
public static Collection values() {
return values(TimeAggregation.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy