code: public void setEntries(java.util.Collection<PutEventsResultEntry> entries) {
          if (entries == null) {
              this.entries = null;
              return;
          }
  
          this.entries = new java.util.ArrayList<PutEventsResultEntry>(entries);
      }
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>
  
  @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.