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