toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NotebookInstanceStatus.pending:
      return 'Pending';
    case NotebookInstanceStatus.inService:
      return 'InService';
    case NotebookInstanceStatus.stopping:
      return 'Stopping';
    case NotebookInstanceStatus.stopped:
      return 'Stopped';
    case NotebookInstanceStatus.failed:
      return 'Failed';
    case NotebookInstanceStatus.deleting:
      return 'Deleting';
    case NotebookInstanceStatus.updating:
      return 'Updating';
  }
}