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