toValue method
Implementation
String toValue() {
switch (this) {
case CloudHsmObjectState.ready:
return 'READY';
case CloudHsmObjectState.updating:
return 'UPDATING';
case CloudHsmObjectState.degraded:
return 'DEGRADED';
}
}