public Endpoint withRoutingConfig(RoutingConfig routingConfig) {
        setRoutingConfig(routingConfig);
        return this;
    }
<p>
The routing configuration of the endpoint.
</p>

@param routingConfig
       The routing configuration of the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Endpoint.java