BPMN java Model API specify connector when Building Process

Hey,
I am trying to create a bpmn diagram dinamically with the java BPMN Model API.
One of the tasks i want to create is a Service Task.
I want it to be a connector of type http. If i was using the Camunda Modular i would simply select it in the implementation dropdown box and specify the inputs with url, method, payload, header …

With the Model API i was building it in this way.

BpmnModelInstance modelInstance = Bpmn.createExecutableProcess(“processID”)
.startEvent()
.serviceTask()
.name(“test”)
.camundaInputParameter(“url”, “http://test.com/”)

My problem i cant find in any docs how to specify that service task is of implementation Connector.