toValue method
Implementation
String toValue() {
switch (this) {
case EnvironmentLifecycleStatus.creating:
return 'CREATING';
case EnvironmentLifecycleStatus.created:
return 'CREATED';
case EnvironmentLifecycleStatus.createFailed:
return 'CREATE_FAILED';
case EnvironmentLifecycleStatus.deleting:
return 'DELETING';
case EnvironmentLifecycleStatus.deleteFailed:
return 'DELETE_FAILED';
}
}