code: public PutEventsResult withEntries(PutEventsResultEntry... entries) {
          if (this.entries == null) {
              setEntries(new java.util.ArrayList<PutEventsResultEntry>(entries.length));
          }
          for (PutEventsResultEntry ele : entries) {
              this.entries.add(ele);
          }
          return this;
      }
docs: <p>
  The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the
  event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEntries(java.util.Collection)} or {@link #withEntries(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param entries
  The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry
  has the event ID in it. Otherwise, you can use the error code and error message to identify the problem
  with the entry.
  @return Returns a reference to this object so that method calls can be chained together.