public InventoryConfiguration withId(String id) {
        setId(id);
        return this;
    }
Sets the ID used to identify the inventory configuration
and returns this object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/inventory/InventoryConfiguration.java