toValue method
Implementation
String toValue() {
switch (this) {
case InstanceStateChangeReasonCode.internalError:
return 'INTERNAL_ERROR';
case InstanceStateChangeReasonCode.validationError:
return 'VALIDATION_ERROR';
case InstanceStateChangeReasonCode.instanceFailure:
return 'INSTANCE_FAILURE';
case InstanceStateChangeReasonCode.bootstrapFailure:
return 'BOOTSTRAP_FAILURE';
case InstanceStateChangeReasonCode.clusterTerminated:
return 'CLUSTER_TERMINATED';
}
}