toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DomainPackageStatus.associating:
      return 'ASSOCIATING';
    case DomainPackageStatus.associationFailed:
      return 'ASSOCIATION_FAILED';
    case DomainPackageStatus.active:
      return 'ACTIVE';
    case DomainPackageStatus.dissociating:
      return 'DISSOCIATING';
    case DomainPackageStatus.dissociationFailed:
      return 'DISSOCIATION_FAILED';
  }
}