public InventoryItem withContentHash(String contentHash) {
        setContentHash(contentHash);
        return this;
    }
<p>
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory
information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed
since last update.
</p>

@param contentHash
       MD5 hash of the inventory item type contents. The content hash is used to determine whether to update
       inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5
       hash hasn't changed since last update.
@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/InventoryItem.java