build

abstract fun build(): String

Builds and returns the final message as a string.

This method consolidates all previously provided message components into a single string. The exact formatting and ordering of components in the resulting string are determined by the specific implementation of this interface.

Return

The fully formatted message as a String.