docs: public GetInventoryResult withEntities(InventoryResultEntity... entities) {
          if (this.entities == null) {
              setEntities(new com.amazonaws.internal.SdkInternalList<InventoryResultEntity>(entities.length));
          }
          for (InventoryResultEntity ele : entities) {
              this.entities.add(ele);
          }
          return this;
      }