Spring Boot - Application Configuration
You want to create a nested configuration property for a mail server with host and port inside
application.properties like this:
mail.server.host=smtp.example.com mail.server.port=587Which of the following Java classes correctly models this nested property using
@ConfigurationProperties?