toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContainerServiceMetricName.cPUUtilization:
      return 'CPUUtilization';
    case ContainerServiceMetricName.memoryUtilization:
      return 'MemoryUtilization';
  }
}