toValue method
Implementation
String toValue() {
switch (this) {
case AutoScalingPolicyStateChangeReasonCode.userRequest:
return 'USER_REQUEST';
case AutoScalingPolicyStateChangeReasonCode.provisionFailure:
return 'PROVISION_FAILURE';
case AutoScalingPolicyStateChangeReasonCode.cleanupFailure:
return 'CLEANUP_FAILURE';
}
}