public PrometheusMonitoringConfiguration withRemoteWriteUrl(String remoteWriteUrl) {
        setRemoteWriteUrl(remoteWriteUrl);
        return this;
    }
<p>
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
</p>

@param remoteWriteUrl
       The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/PrometheusMonitoringConfiguration.java