public void setShadowProductionVariants(java.util.Collection<ProductionVariant> shadowProductionVariants) {
        if (shadowProductionVariants == null) {
            this.shadowProductionVariants = null;
            return;
        }

        this.shadowProductionVariants = new java.util.ArrayList<ProductionVariant>(shadowProductionVariants);
    }
<p>
An array of <code>ProductionVariant</code> objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on <code>ProductionVariants</code>. If
you use this field, you can only specify one variant for <code>ProductionVariants</code> and one variant for
<code>ShadowProductionVariants</code>.
</p>

@param shadowProductionVariants
       An array of <code>ProductionVariant</code> objects, one for each model that you want to host at this
       endpoint in shadow mode with production traffic replicated from the model specified on
       <code>ProductionVariants</code>. If you use this field, you can only specify one variant for
       <code>ProductionVariants</code> and one variant for <code>ShadowProductionVariants</code>.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateEndpointConfigRequest.java