toCloudWatchLogsTimeZone method

CloudWatchLogsTimeZone toCloudWatchLogsTimeZone()

Implementation

CloudWatchLogsTimeZone toCloudWatchLogsTimeZone() {
  switch (this) {
    case 'LOCAL':
      return CloudWatchLogsTimeZone.local;
    case 'UTC':
      return CloudWatchLogsTimeZone.utc;
  }
  throw Exception('$this is not known in enum CloudWatchLogsTimeZone');
}