Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.monitor; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for MetricAlertRuleTimeAggregation.
/** * Defines values for MetricAlertRuleTimeAggregation. */
public final class MetricAlertRuleTimeAggregation extends ExpandableStringEnum<MetricAlertRuleTimeAggregation> {
Static value Count for MetricAlertRuleTimeAggregation.
/** Static value Count for MetricAlertRuleTimeAggregation. */
public static final MetricAlertRuleTimeAggregation COUNT = fromString("Count");
Static value Average for MetricAlertRuleTimeAggregation.
/** Static value Average for MetricAlertRuleTimeAggregation. */
public static final MetricAlertRuleTimeAggregation AVERAGE = fromString("Average");
Static value Minimum for MetricAlertRuleTimeAggregation.
/** Static value Minimum for MetricAlertRuleTimeAggregation. */
public static final MetricAlertRuleTimeAggregation MINIMUM = fromString("Minimum");
Static value Maximum for MetricAlertRuleTimeAggregation.
/** Static value Maximum for MetricAlertRuleTimeAggregation. */
public static final MetricAlertRuleTimeAggregation MAXIMUM = fromString("Maximum");
Static value Total for MetricAlertRuleTimeAggregation.
/** Static value Total for MetricAlertRuleTimeAggregation. */
public static final MetricAlertRuleTimeAggregation TOTAL = fromString("Total");
Creates or finds a MetricAlertRuleTimeAggregation from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding MetricAlertRuleTimeAggregation
/** * Creates or finds a MetricAlertRuleTimeAggregation from its string representation. * @param name a name to look for * @return the corresponding MetricAlertRuleTimeAggregation */
@JsonCreator public static MetricAlertRuleTimeAggregation fromString(String name) { return fromString(name, MetricAlertRuleTimeAggregation.class); }
Returns:known MetricAlertRuleTimeAggregation values
/** * @return known MetricAlertRuleTimeAggregation values */
public static Collection<MetricAlertRuleTimeAggregation> values() { return values(MetricAlertRuleTimeAggregation.class); } }