toValue method
Implementation
String toValue() {
switch (this) {
case ClusterStateChangeReasonCode.internalError:
return 'INTERNAL_ERROR';
case ClusterStateChangeReasonCode.validationError:
return 'VALIDATION_ERROR';
case ClusterStateChangeReasonCode.instanceFailure:
return 'INSTANCE_FAILURE';
case ClusterStateChangeReasonCode.instanceFleetTimeout:
return 'INSTANCE_FLEET_TIMEOUT';
case ClusterStateChangeReasonCode.bootstrapFailure:
return 'BOOTSTRAP_FAILURE';
case ClusterStateChangeReasonCode.userRequest:
return 'USER_REQUEST';
case ClusterStateChangeReasonCode.stepFailure:
return 'STEP_FAILURE';
case ClusterStateChangeReasonCode.allStepsCompleted:
return 'ALL_STEPS_COMPLETED';
}
}