build

Constructs the StateMessage based on the provided properties.

Return

An instance of StateMessage.

Throws

If the configuration for StateMessage is invalid.