▁a ▁Bu ilder ▁object ▁instead ▁of ▁creating ▁the ▁objects ▁directly . ▁ ▁A ▁class ▁( the ▁same ▁construction ▁process ) ▁can ▁delegate ▁to ▁different ▁Bu ilder ▁objects ▁to ▁create ▁different ▁representations ▁of ▁a ▁complex ▁object . ▁ ▁Definition ▁The ▁intent ▁of ▁the ▁Bu ilder ▁design ▁pattern ▁is ▁to ▁separate ▁the ▁construction ▁of ▁a ▁complex ▁object ▁from ▁its ▁representation . ▁By ▁doing ▁so ▁the ▁same ▁construction ▁process ▁can ▁create ▁different ▁representations . ▁ ▁Adv antages ▁ ▁Adv antages ▁of ▁the ▁Bu ilder ▁pattern ▁include : ▁ ▁All ows ▁you ▁to ▁vary ▁a ▁product ' s ▁internal ▁representation . ▁ ▁Enc aps ul ates ▁code ▁for ▁construction ▁and ▁representation . ▁ ▁Prov ides ▁control ▁over ▁steps ▁of ▁construction ▁process . ▁ ▁Dis adv antages ▁ ▁Dis adv antages ▁of ▁the ▁Bu ilder ▁pattern ▁include : ▁ ▁Re qu ires ▁creating ▁a ▁separate ▁Con crete Builder ▁for ▁each ▁different ▁type ▁of ▁product . ▁ ▁Re qu ires ▁the ▁builder ▁classes ▁to ▁be ▁mutable . ▁ ▁Dep endency ▁injection ▁may ▁be ▁less ▁supported . ▁ ▁Str ucture ▁ ▁U ML ▁class ▁and ▁sequence ▁diagram ▁▁ ▁In ▁the ▁above ▁U ML ▁class ▁diagram , ▁ ▁the ▁Director ▁class ▁doesn ' t ▁create ▁and ▁assemble ▁the ▁Product A 1 ▁and ▁Product B 1 ▁objects ▁directly . ▁Instead , ▁the ▁Director ▁refers ▁to ▁the ▁Bu ilder ▁interface ▁for ▁building ▁( cre ating ▁and ▁assemb ling ) ▁the ▁parts ▁of ▁a ▁complex ▁object , ▁which ▁makes ▁the ▁Director ▁independent ▁of ▁which ▁concrete ▁classes ▁are ▁instanti ated ▁( which ▁representation ▁is ▁created