toContainerServiceMetricName method
Implementation
ContainerServiceMetricName toContainerServiceMetricName() {
switch (this) {
case 'CPUUtilization':
return ContainerServiceMetricName.cPUUtilization;
case 'MemoryUtilization':
return ContainerServiceMetricName.memoryUtilization;
}
throw Exception('$this is not known in enum ContainerServiceMetricName');
}