toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DestinationStatus.enabling:
      return 'ENABLING';
    case DestinationStatus.active:
      return 'ACTIVE';
    case DestinationStatus.disabling:
      return 'DISABLING';
    case DestinationStatus.disabled:
      return 'DISABLED';
    case DestinationStatus.enableFailed:
      return 'ENABLE_FAILED';
  }
}