public InventoryConfiguration withFilter(InventoryFilter inventoryFilter) {
        setInventoryFilter(inventoryFilter);
        return this;
    }
Sets the inventoryFilter used to describe a set of objects
to include in inventory results.

The {@link InventoryConfiguration} object is returned
for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/inventory/InventoryConfiguration.java