toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EBSMetricName.volumeReadOpsPerSecond:
      return 'VolumeReadOpsPerSecond';
    case EBSMetricName.volumeWriteOpsPerSecond:
      return 'VolumeWriteOpsPerSecond';
    case EBSMetricName.volumeReadBytesPerSecond:
      return 'VolumeReadBytesPerSecond';
    case EBSMetricName.volumeWriteBytesPerSecond:
      return 'VolumeWriteBytesPerSecond';
  }
}