public void setDestination(String destination) {
        this.destination = destination;
    }
<p>
The destination to send the metrics to. Valid values are <code>CloudWatch</code> and <code>Evidently</code>. If
you specify <code>Evidently</code>, you must also specify the ARN of the CloudWatchEvidently experiment that will
receive the metrics and an IAM role that has permission to write to the experiment.
</p>

@param destination
       The destination to send the metrics to. Valid values are <code>CloudWatch</code> and
       <code>Evidently</code>. If you specify <code>Evidently</code>, you must also specify the ARN of the
       CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write
       to the experiment.
@see MetricDestination
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/UpdateRumMetricDefinitionRequest.java