public UpdateRumMetricDefinitionRequest withDestinationArn(String destinationArn) {
        setDestinationArn(destinationArn);
        return this;
    }
<p>
This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
<code>CloudWatch</code>, do not use this parameter.
</p>
<p>
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have
already defined this experiment as a valid destination. For more information, see <a
href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html"
>PutRumMetricsDestination</a>.
</p>

@param destinationArn
       This parameter is required if <code>Destination</code> is <code>Evidently</code>. If
       <code>Destination</code> is <code>CloudWatch</code>, do not use this parameter.</p>
       <p>
       This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have
       already defined this experiment as a valid destination. For more information, see <a
       href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html"
       >PutRumMetricsDestination</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/UpdateRumMetricDefinitionRequest.java