public CreateEndpointConfigRequest withProductionVariants(java.util.Collection<ProductionVariant> productionVariants) {
        setProductionVariants(productionVariants);
        return this;
    }
<p>
An array of <code>ProductionVariant</code> objects, one for each model that you want to host at this endpoint.
</p>

@param productionVariants
       An array of <code>ProductionVariant</code> objects, one for each model that you want to host at this
       endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateEndpointConfigRequest.java