toTagResourceType method

TagResourceType toTagResourceType()

Implementation

TagResourceType toTagResourceType() {
  switch (this) {
    case 'healthcheck':
      return TagResourceType.healthcheck;
    case 'hostedzone':
      return TagResourceType.hostedzone;
  }
  throw Exception('$this is not known in enum TagResourceType');
}