toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NotificationTransport.email:
      return 'Email';
    case NotificationTransport.sqs:
      return 'SQS';
    case NotificationTransport.sns:
      return 'SNS';
  }
}