I tried to make a @ConfigurationProperties bean without setters so I used @ConstructorBinding. Let\'s call this class PropertiesFromYml.java<
@ConfigurationProperties
@ConstructorBinding
PropertiesFromYml.java<