toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ClusterStatus.creating:
      return 'CREATING';
    case ClusterStatus.active:
      return 'ACTIVE';
    case ClusterStatus.deleting:
      return 'DELETING';
    case ClusterStatus.failed:
      return 'FAILED';
    case ClusterStatus.updating:
      return 'UPDATING';
  }
}