toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RemediationExecutionStepState.succeeded:
      return 'SUCCEEDED';
    case RemediationExecutionStepState.pending:
      return 'PENDING';
    case RemediationExecutionStepState.failed:
      return 'FAILED';
  }
}