public SpekeKeyProvider withUrl(String url) {
        setUrl(url);
        return this;
    }
<p>
The URL of the API Gateway proxy that you set up to talk to your key server. The API Gateway proxy must reside in
the same AWS Region as MediaPackage and must start with https://.
</p>
<p>
The following example shows a URL:
<code>https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection</code>
</p>

@param url
       The URL of the API Gateway proxy that you set up to talk to your key server. The API Gateway proxy must
       reside in the same AWS Region as MediaPackage and must start with https://.</p>
       <p>
       The following example shows a URL:
       <code>https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackagev2/src/main/java/com/amazonaws/services/mediapackagev2/model/SpekeKeyProvider.java