Add user with Shield in Java

Hi,

I would like to add users and roles with elasticsearch java api and not from the command line as we do with esusers.

Is there somebody who knows how to do it?