Jest Java index template example?

Hi all,

I'm attempting to use the Jest Java client. There is a readme that provides some documentation here. It discusses some integration between the Jest API and ElasticSearch Java API for things like mapping definitions. What I'm attempting to do is define an index template. The Jest API appears to have support for this via a class called PutTemplate. However, I can't find any example of using this class in conjunction with the built-in ES Java API builder classes. Does anyone have any ideas?