toCompatibility method

Compatibility toCompatibility()

Implementation

Compatibility toCompatibility() {
  switch (this) {
    case 'EC2':
      return Compatibility.ec2;
    case 'FARGATE':
      return Compatibility.fargate;
  }
  throw Exception('$this is not known in enum Compatibility');
}