code: public DescribeEndpointResult withProductionVariants(ProductionVariantSummary... productionVariants) {
          if (this.productionVariants == null) {
              setProductionVariants(new java.util.ArrayList<ProductionVariantSummary>(productionVariants.length));
          }
          for (ProductionVariantSummary ele : productionVariants) {
              this.productionVariants.add(ele);
          }
          return this;
      }
docs: <p>
  An array of <a>ProductionVariantSummary</a> objects, one for each model hosted behind this endpoint.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setProductionVariants(java.util.Collection)} or {@link #withProductionVariants(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param productionVariants
  An array of <a>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.