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 LogMetricsGroupBy.
/**
* Defines values for LogMetricsGroupBy.
*/
public final class LogMetricsGroupBy extends ExpandableStringEnum<LogMetricsGroupBy> {
Static value httpStatusCode for LogMetricsGroupBy. /** Static value httpStatusCode for LogMetricsGroupBy. */
public static final LogMetricsGroupBy HTTP_STATUS_CODE = fromString("httpStatusCode");
Static value protocol for LogMetricsGroupBy. /** Static value protocol for LogMetricsGroupBy. */
public static final LogMetricsGroupBy PROTOCOL = fromString("protocol");
Static value cacheStatus for LogMetricsGroupBy. /** Static value cacheStatus for LogMetricsGroupBy. */
public static final LogMetricsGroupBy CACHE_STATUS = fromString("cacheStatus");
Static value country for LogMetricsGroupBy. /** Static value country for LogMetricsGroupBy. */
public static final LogMetricsGroupBy COUNTRY = fromString("country");
Static value customDomain for LogMetricsGroupBy. /** Static value customDomain for LogMetricsGroupBy. */
public static final LogMetricsGroupBy CUSTOM_DOMAIN = fromString("customDomain");
Creates or finds a LogMetricsGroupBy from its string representation.
Params: - name – a name to look for
Returns: the corresponding LogMetricsGroupBy
/**
* Creates or finds a LogMetricsGroupBy from its string representation.
* @param name a name to look for
* @return the corresponding LogMetricsGroupBy
*/
@JsonCreator
public static LogMetricsGroupBy fromString(String name) {
return fromString(name, LogMetricsGroupBy.class);
}
Returns: known LogMetricsGroupBy values
/**
* @return known LogMetricsGroupBy values
*/
public static Collection<LogMetricsGroupBy> values() {
return values(LogMetricsGroupBy.class);
}
}