@Override
    public String toString() {
        return "DatabaseProperties{" +
                "name='" + name + '\'' +
                ", clusterIp=" + clusterIp +
                '}';
    }
@Bean
        public ConversionService conversionService() {
            return new DefaultConversionService();
        }
spring-boot-externalize-config-3/src/main/java/com/mkyong/config/DatabaseProperties.java