toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReplicaStatus.creating:
      return 'CREATING';
    case ReplicaStatus.creationFailed:
      return 'CREATION_FAILED';
    case ReplicaStatus.updating:
      return 'UPDATING';
    case ReplicaStatus.deleting:
      return 'DELETING';
    case ReplicaStatus.active:
      return 'ACTIVE';
    case ReplicaStatus.regionDisabled:
      return 'REGION_DISABLED';
    case ReplicaStatus.inaccessibleEncryptionCredentials:
      return 'INACCESSIBLE_ENCRYPTION_CREDENTIALS';
  }
}