public InventoryS3BucketDestination withFormat(InventoryFormat format) {
        setFormat(format);
        return this;
    }
Sets the output format of the inventory results
and returns this {@link InventoryS3BucketDestination} object
for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/inventory/InventoryS3BucketDestination.java