toValue method
Implementation
String toValue() {
switch (this) {
case DesiredStatus.running:
return 'RUNNING';
case DesiredStatus.pending:
return 'PENDING';
case DesiredStatus.stopped:
return 'STOPPED';
}
}
String toValue() {
switch (this) {
case DesiredStatus.running:
return 'RUNNING';
case DesiredStatus.pending:
return 'PENDING';
case DesiredStatus.stopped:
return 'STOPPED';
}
}