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 LogMetricsGranularity.
/**
* Defines values for LogMetricsGranularity.
*/
public final class LogMetricsGranularity extends ExpandableStringEnum<LogMetricsGranularity> {
Static value PT5M for LogMetricsGranularity. /** Static value PT5M for LogMetricsGranularity. */
public static final LogMetricsGranularity PT5M = fromString("PT5M");
Static value PT1H for LogMetricsGranularity. /** Static value PT1H for LogMetricsGranularity. */
public static final LogMetricsGranularity PT1H = fromString("PT1H");
Static value P1D for LogMetricsGranularity. /** Static value P1D for LogMetricsGranularity. */
public static final LogMetricsGranularity P1D = fromString("P1D");
Creates or finds a LogMetricsGranularity from its string representation.
Params: - name – a name to look for
Returns: the corresponding LogMetricsGranularity
/**
* Creates or finds a LogMetricsGranularity from its string representation.
* @param name a name to look for
* @return the corresponding LogMetricsGranularity
*/
@JsonCreator
public static LogMetricsGranularity fromString(String name) {
return fromString(name, LogMetricsGranularity.class);
}
Returns: known LogMetricsGranularity values
/**
* @return known LogMetricsGranularity values
*/
public static Collection<LogMetricsGranularity> values() {
return values(LogMetricsGranularity.class);
}
}