public Endpoint withProductionVariants(java.util.Collection<ProductionVariantSummary> productionVariants) {
        setProductionVariants(productionVariants);
        return this;
    }
<p>
A list of the production variants hosted on the endpoint. Each production variant is a model.
</p>

@param productionVariants
       A list of the production variants hosted on the endpoint. Each production variant is a model.
@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/Endpoint.java