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