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