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 LogMetric.
/**
* Defines values for LogMetric.
*/
public final class LogMetric extends ExpandableStringEnum<LogMetric> {
Static value clientRequestCount for LogMetric. /** Static value clientRequestCount for LogMetric. */
public static final LogMetric CLIENT_REQUEST_COUNT = fromString("clientRequestCount");
Static value clientRequestTraffic for LogMetric. /** Static value clientRequestTraffic for LogMetric. */
public static final LogMetric CLIENT_REQUEST_TRAFFIC = fromString("clientRequestTraffic");
Static value clientRequestBandwidth for LogMetric. /** Static value clientRequestBandwidth for LogMetric. */
public static final LogMetric CLIENT_REQUEST_BANDWIDTH = fromString("clientRequestBandwidth");
Static value originRequestTraffic for LogMetric. /** Static value originRequestTraffic for LogMetric. */
public static final LogMetric ORIGIN_REQUEST_TRAFFIC = fromString("originRequestTraffic");
Static value originRequestBandwidth for LogMetric. /** Static value originRequestBandwidth for LogMetric. */
public static final LogMetric ORIGIN_REQUEST_BANDWIDTH = fromString("originRequestBandwidth");
Static value totalLatency for LogMetric. /** Static value totalLatency for LogMetric. */
public static final LogMetric TOTAL_LATENCY = fromString("totalLatency");
Creates or finds a LogMetric from its string representation.
Params: - name – a name to look for
Returns: the corresponding LogMetric
/**
* Creates or finds a LogMetric from its string representation.
* @param name a name to look for
* @return the corresponding LogMetric
*/
@JsonCreator
public static LogMetric fromString(String name) {
return fromString(name, LogMetric.class);
}
Returns: known LogMetric values
/**
* @return known LogMetric values
*/
public static Collection<LogMetric> values() {
return values(LogMetric.class);
}
}