public void setProductionVariants(java.util.Collection<PendingProductionVariantSummary> productionVariants) {
        if (productionVariants == null) {
            this.productionVariants = null;
            return;
        }

        this.productionVariants = new java.util.ArrayList<PendingProductionVariantSummary>(productionVariants);
    }
<p>
An array of <a
href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_PendingProductionVariantSummary.html"
>PendingProductionVariantSummary</a> objects, one for each model hosted behind this endpoint for the in-progress
deployment.
</p>

@param productionVariants
       An array of <a href=
       "https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_PendingProductionVariantSummary.html"
       >PendingProductionVariantSummary</a> objects, one for each model hosted behind this endpoint for the
       in-progress deployment.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/PendingDeploymentSummary.java