You should be able to generate dynamic AWS credentials by role by writing to /aws/creds/RoleName e.g.
LogicalResponse credentialsResponse = vault.logical()
.write("aws/creds/SomeRole", Collections.singletonMap("ttl", "180s"));
Unfortunately vault-java-driver internally changes this path to /aws/data/creds/SomeRole