toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NamespaceStatus.created:
      return 'CREATED';
    case NamespaceStatus.creating:
      return 'CREATING';
    case NamespaceStatus.deleting:
      return 'DELETING';
    case NamespaceStatus.retryableFailure:
      return 'RETRYABLE_FAILURE';
    case NamespaceStatus.nonRetryableFailure:
      return 'NON_RETRYABLE_FAILURE';
  }
}