toValue method

String toValue()

Implementation

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