public ProductionVariantRoutingConfig withRoutingStrategy(String routingStrategy) {
        setRoutingStrategy(routingStrategy);
        return this;
    }
<p>
Sets how the endpoint routes incoming traffic:
</p>
<ul>
<li>
<p>
<code>LEAST_OUTSTANDING_REQUESTS</code>: The endpoint routes requests to the specific instances that have more
capacity to process them.
</p>
</li>
<li>
<p>
<code>RANDOM</code>: The endpoint routes each request to a randomly chosen instance.
</p>
</li>
</ul>

@param routingStrategy
       Sets how the endpoint routes incoming traffic:</p>
       <ul>
       <li>
       <p>
       <code>LEAST_OUTSTANDING_REQUESTS</code>: The endpoint routes requests to the specific instances that have
       more capacity to process them.
       </p>
       </li>
       <li>
       <p>
       <code>RANDOM</code>: The endpoint routes each request to a randomly chosen instance.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see RoutingStrategy
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ProductionVariantRoutingConfig.java