toValue method
Implementation
String toValue() {
switch (this) {
case InstanceStatus.pending:
return 'PENDING';
case InstanceStatus.active:
return 'ACTIVE';
case InstanceStatus.terminating:
return 'TERMINATING';
}
}