toSystemInstanceFilterName method

SystemInstanceFilterName toSystemInstanceFilterName()

Implementation

SystemInstanceFilterName toSystemInstanceFilterName() {
  switch (this) {
    case 'SYSTEM_TEMPLATE_ID':
      return SystemInstanceFilterName.systemTemplateId;
    case 'STATUS':
      return SystemInstanceFilterName.status;
    case 'GREENGRASS_GROUP_NAME':
      return SystemInstanceFilterName.greengrassGroupName;
  }
  throw Exception('$this is not known in enum SystemInstanceFilterName');
}