toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeliveryStreamStatus.creating:
      return 'CREATING';
    case DeliveryStreamStatus.creatingFailed:
      return 'CREATING_FAILED';
    case DeliveryStreamStatus.deleting:
      return 'DELETING';
    case DeliveryStreamStatus.deletingFailed:
      return 'DELETING_FAILED';
    case DeliveryStreamStatus.active:
      return 'ACTIVE';
  }
}