public static < TItem > Bson set ( final String fieldName , @ Nullable final TItem value ) { return new SimpleUpdate < TItem > ( fieldName , value , "$set" ) ; }
Creates an update that sets the value of the field with the given name to the given value .