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.cdn; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for LogRankingMetric.
/** * Defines values for LogRankingMetric. */
public final class LogRankingMetric extends ExpandableStringEnum<LogRankingMetric> {
Static value clientRequestCount for LogRankingMetric.
/** Static value clientRequestCount for LogRankingMetric. */
public static final LogRankingMetric CLIENT_REQUEST_COUNT = fromString("clientRequestCount");
Static value clientRequestTraffic for LogRankingMetric.
/** Static value clientRequestTraffic for LogRankingMetric. */
public static final LogRankingMetric CLIENT_REQUEST_TRAFFIC = fromString("clientRequestTraffic");
Static value hitCount for LogRankingMetric.
/** Static value hitCount for LogRankingMetric. */
public static final LogRankingMetric HIT_COUNT = fromString("hitCount");
Static value missCount for LogRankingMetric.
/** Static value missCount for LogRankingMetric. */
public static final LogRankingMetric MISS_COUNT = fromString("missCount");
Static value userErrorCount for LogRankingMetric.
/** Static value userErrorCount for LogRankingMetric. */
public static final LogRankingMetric USER_ERROR_COUNT = fromString("userErrorCount");
Static value errorCount for LogRankingMetric.
/** Static value errorCount for LogRankingMetric. */
public static final LogRankingMetric ERROR_COUNT = fromString("errorCount");
Creates or finds a LogRankingMetric from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding LogRankingMetric
/** * Creates or finds a LogRankingMetric from its string representation. * @param name a name to look for * @return the corresponding LogRankingMetric */
@JsonCreator public static LogRankingMetric fromString(String name) { return fromString(name, LogRankingMetric.class); }
Returns:known LogRankingMetric values
/** * @return known LogRankingMetric values */
public static Collection<LogRankingMetric> values() { return values(LogRankingMetric.class); } }