toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StackDriftDetectionStatus.detectionInProgress:
      return 'DETECTION_IN_PROGRESS';
    case StackDriftDetectionStatus.detectionFailed:
      return 'DETECTION_FAILED';
    case StackDriftDetectionStatus.detectionComplete:
      return 'DETECTION_COMPLETE';
  }
}