toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Destination.cloudwatchLogs:
      return 'CLOUDWATCH_LOGS';
    case Destination.s3:
      return 'S3';
  }
}