Package org.bson.codecs.pojo.annotations
Annotation Type BsonId
- 
@Documented @Retention(RUNTIME) @Target({FIELD,METHOD,PARAMETER}) public @interface BsonIdAn annotation that configures the property as the id property for aClassModel.Note: Requires the
Conventions.ANNOTATION_CONVENTION- Since:
 - 3.5
 - See Also:
 Conventions.ANNOTATION_CONVENTION