toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StackSetDriftDetectionStatus.completed:
      return 'COMPLETED';
    case StackSetDriftDetectionStatus.failed:
      return 'FAILED';
    case StackSetDriftDetectionStatus.partialSuccess:
      return 'PARTIAL_SUCCESS';
    case StackSetDriftDetectionStatus.inProgress:
      return 'IN_PROGRESS';
    case StackSetDriftDetectionStatus.stopped:
      return 'STOPPED';
  }
}