toSettingName method

SettingName toSettingName()

Implementation

SettingName toSettingName() {
  switch (this) {
    case 'serviceLongArnFormat':
      return SettingName.serviceLongArnFormat;
    case 'taskLongArnFormat':
      return SettingName.taskLongArnFormat;
    case 'containerInstanceLongArnFormat':
      return SettingName.containerInstanceLongArnFormat;
    case 'awsvpcTrunking':
      return SettingName.awsvpcTrunking;
    case 'containerInsights':
      return SettingName.containerInsights;
  }
  throw Exception('$this is not known in enum SettingName');
}