[Docs] Adjust Java API documentation to be in sync with latest changes

[ci skip]