public DescribeEndpointResult withProductionVariants(java.util.Collection<ProductionVariantSummary> productionVariants) {
        setProductionVariants(productionVariants);
        return this;
    }
<p>
An array of <a
href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariantSummary.html">
ProductionVariantSummary</a> objects, one for each model hosted behind this endpoint.
</p>

@param productionVariants
       An array of <a
       href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariantSummary.html"
       >ProductionVariantSummary</a> objects, one for each model hosted behind 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/DescribeEndpointResult.java