toThroughputMode method

ThroughputMode toThroughputMode()

Implementation

ThroughputMode toThroughputMode() {
  switch (this) {
    case 'bursting':
      return ThroughputMode.bursting;
    case 'provisioned':
      return ThroughputMode.provisioned;
  }
  throw Exception('$this is not known in enum ThroughputMode');
}