toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LaunchType.ec2:
      return 'EC2';
    case LaunchType.fargate:
      return 'FARGATE';
  }
}