toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NotificationTarget.eventBridge:
      return 'EventBridge';
    case NotificationTarget.sns:
      return 'SNS';
    case NotificationTarget.sqs:
      return 'SQS';
  }
}