toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NodegroupStatus.creating:
      return 'CREATING';
    case NodegroupStatus.active:
      return 'ACTIVE';
    case NodegroupStatus.updating:
      return 'UPDATING';
    case NodegroupStatus.deleting:
      return 'DELETING';
    case NodegroupStatus.createFailed:
      return 'CREATE_FAILED';
    case NodegroupStatus.deleteFailed:
      return 'DELETE_FAILED';
    case NodegroupStatus.degraded:
      return 'DEGRADED';
  }
}