toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MetricType.aSGAverageCPUUtilization:
      return 'ASGAverageCPUUtilization';
    case MetricType.aSGAverageNetworkIn:
      return 'ASGAverageNetworkIn';
    case MetricType.aSGAverageNetworkOut:
      return 'ASGAverageNetworkOut';
    case MetricType.aLBRequestCountPerTarget:
      return 'ALBRequestCountPerTarget';
  }
}