toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TableStatus.creating:
      return 'CREATING';
    case TableStatus.updating:
      return 'UPDATING';
    case TableStatus.deleting:
      return 'DELETING';
    case TableStatus.active:
      return 'ACTIVE';
    case TableStatus.inaccessibleEncryptionCredentials:
      return 'INACCESSIBLE_ENCRYPTION_CREDENTIALS';
    case TableStatus.archiving:
      return 'ARCHIVING';
    case TableStatus.archived:
      return 'ARCHIVED';
  }
}