toValue method
Implementation
String toValue() {
switch (this) {
case InstanceState.awaitingFulfillment:
return 'AWAITING_FULFILLMENT';
case InstanceState.provisioning:
return 'PROVISIONING';
case InstanceState.bootstrapping:
return 'BOOTSTRAPPING';
case InstanceState.running:
return 'RUNNING';
case InstanceState.terminated:
return 'TERMINATED';
}
}