toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RelationalDatabaseMetricName.cPUUtilization:
      return 'CPUUtilization';
    case RelationalDatabaseMetricName.databaseConnections:
      return 'DatabaseConnections';
    case RelationalDatabaseMetricName.diskQueueDepth:
      return 'DiskQueueDepth';
    case RelationalDatabaseMetricName.freeStorageSpace:
      return 'FreeStorageSpace';
    case RelationalDatabaseMetricName.networkReceiveThroughput:
      return 'NetworkReceiveThroughput';
    case RelationalDatabaseMetricName.networkTransmitThroughput:
      return 'NetworkTransmitThroughput';
  }
}