code: public Instance withProductCodes(ProductCode... productCodes) {
          if (this.productCodes == null) {
              setProductCodes(new com.amazonaws.internal.SdkInternalList<ProductCode>(productCodes.length));
          }
          for (ProductCode ele : productCodes) {
              this.productCodes.add(ele);
          }
          return this;
      }
docs: <p>
  The product codes attached to this instance, if applicable.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setProductCodes(java.util.Collection)} or {@link #withProductCodes(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param productCodes
  The product codes attached to this instance, if applicable.
  @return Returns a reference to this object so that method calls can be chained together.