public PutInventoryRequest withItems(java.util.Collection<InventoryItem> items) {
        setItems(items);
        return this;
    }
<p>
The inventory items that you want to add or update on managed nodes.
</p>

@param items
       The inventory items that you want to add or update on managed nodes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/PutInventoryRequest.java