toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NodeAssociationStatus.success:
      return 'SUCCESS';
    case NodeAssociationStatus.failed:
      return 'FAILED';
    case NodeAssociationStatus.inProgress:
      return 'IN_PROGRESS';
  }
}