Update to Docs. There was confusion on if dot notation was correct. Updated docs to explicitly state dot notation is allowed.

Comment From: pivotal-cla

@dvonsegg Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@dvonsegg Thank you for signing the Contributor License Agreement!

Comment From: mbhave

@dvonsegg Thank you for making your first pull request to Spring Boot! This has now been merged into 2.4.x, 2.5.x and main along with this polish commit which adds an example.