code: public ListCompatibleImagesResult withCompatibleImages(CompatibleImage... compatibleImages) {
          if (this.compatibleImages == null) {
              setCompatibleImages(new java.util.ArrayList<CompatibleImage>(compatibleImages.length));
          }
          for (CompatibleImage ele : compatibleImages) {
              this.compatibleImages.add(ele);
          }
          return this;
      }
docs: <p>
  A JSON-formatted object that describes a compatible AMI.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCompatibleImages(java.util.Collection)} or {@link #withCompatibleImages(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param compatibleImages
  A JSON-formatted object that describes a compatible AMI.
  @return Returns a reference to this object so that method calls can be chained together.