Document.BuilderProducer


@Documented
@Retention(value = RetentionPolicy.CLASS)
@Target(value = ElementType.METHOD)
annotation Document.BuilderProducer


Marks a method as a builder producer.

A builder producer is a static method that returns a builder, which contains a "build()" method to construct the AppSearch document object and setter methods to set field values. Once a builder producer is specified, AppSearch will be forced to use the builder pattern to construct the document object.