build

Creates an instance of Goal based on the builder's configuration.