toValue method
Implementation
String toValue() {
switch (this) {
case ApplicationStatus.deleting:
return 'DELETING';
case ApplicationStatus.starting:
return 'STARTING';
case ApplicationStatus.stopping:
return 'STOPPING';
case ApplicationStatus.ready:
return 'READY';
case ApplicationStatus.running:
return 'RUNNING';
case ApplicationStatus.updating:
return 'UPDATING';
case ApplicationStatus.autoscaling:
return 'AUTOSCALING';
case ApplicationStatus.forceStopping:
return 'FORCE_STOPPING';
}
}