code: public ListResourceInventoryResult withResourceInventoryList(ResourceInventory... resourceInventoryList) {
          if (this.resourceInventoryList == null) {
              setResourceInventoryList(new java.util.ArrayList<ResourceInventory>(resourceInventoryList.length));
          }
          for (ResourceInventory ele : resourceInventoryList) {
              this.resourceInventoryList.add(ele);
          }
          return this;
      }
docs: <p>
  The detailed list of resources.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourceInventoryList(java.util.Collection)} or
  {@link #withResourceInventoryList(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param resourceInventoryList
  The detailed list of resources.
  @return Returns a reference to this object so that method calls can be chained together.