toTapeStorageClass method

TapeStorageClass toTapeStorageClass()

Implementation

TapeStorageClass toTapeStorageClass() {
  switch (this) {
    case 'DEEP_ARCHIVE':
      return TapeStorageClass.deepArchive;
    case 'GLACIER':
      return TapeStorageClass.glacier;
  }
  throw Exception('$this is not known in enum TapeStorageClass');
}