public UpdateApiDestinationRequest withInvocationEndpoint(String invocationEndpoint) {
        setInvocationEndpoint(invocationEndpoint);
        return this;
    }
<p>
The URL to the endpoint to use for the API destination.
</p>

@param invocationEndpoint
       The URL to the endpoint to use for the API destination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/UpdateApiDestinationRequest.java