toValue method
Implementation
String toValue() {
switch (this) {
case CRType.ec2:
return 'EC2';
case CRType.spot:
return 'SPOT';
case CRType.fargate:
return 'FARGATE';
case CRType.fargateSpot:
return 'FARGATE_SPOT';
}
}