# Uses of Class
org.springframework.batch.item.data.builder.MongoItemWriterBuilder

Packages that use MongoItemWriterBuilder
Package
Description
org.springframework.batch.item.data.builder
Builders for Spring Data item readers and writers.

- ## Uses of MongoItemWriterBuilder in org.springframework.batch.item.data.builder

  Methods in org.springframework.batch.item.data.builder that return MongoItemWriterBuilder
  Modifier and Type
  Method
  Description
  `MongoItemWriterBuilder<T>`
  MongoItemWriterBuilder.`collection(String collection)`
  Set the name of the Mongo collection to be written to.
  `MongoItemWriterBuilder<T>`
  MongoItemWriterBuilder.`delete(boolean delete)`
  Indicates if the items being passed to the writer are to be saved or removed from the data store.
  `MongoItemWriterBuilder<T>`
  MongoItemWriterBuilder.`template(org.springframework.data.mongodb.core.MongoOperations template)`
  Set the `MongoOperations` to be used to save items to be written.