You can just add your person to a map with the configured indexes.
Map personMap = hz.getMap("persons"):
personMap.put("1", new Person(.......))
Hazelcast will inspect the object and check if there are any fields/methods which match with the index definitions.
PS: Why would you need ordered index on name of id? Unordered index is faster AFAIK.