toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeliveryStreamEncryptionStatus.enabled:
      return 'ENABLED';
    case DeliveryStreamEncryptionStatus.enabling:
      return 'ENABLING';
    case DeliveryStreamEncryptionStatus.enablingFailed:
      return 'ENABLING_FAILED';
    case DeliveryStreamEncryptionStatus.disabled:
      return 'DISABLED';
    case DeliveryStreamEncryptionStatus.disabling:
      return 'DISABLING';
    case DeliveryStreamEncryptionStatus.disablingFailed:
      return 'DISABLING_FAILED';
  }
}