PR for code review.

The setXX() methods would be removed after using @JsonCreator to construct configuration instances.