Class WhatsAppInteractiveMessageBuilderImpl.SectionRowBuilderImpl
- java.lang.Object
-
- com.flowable.engage.external.system.whatsapp.WhatsAppInteractiveMessageBuilderImpl.SectionRowBuilderImpl
-
- All Implemented Interfaces:
WhatsAppInteractiveMessageBuilder.SectionRowBuilder
- Enclosing class:
- WhatsAppInteractiveMessageBuilderImpl
public static class WhatsAppInteractiveMessageBuilderImpl.SectionRowBuilderImpl extends Object implements WhatsAppInteractiveMessageBuilder.SectionRowBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected WhatsAppInteractiveMessageDto.ButtonOrSectionRowrowprotected WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImplsectionBuilder
-
Constructor Summary
Constructors Constructor Description SectionRowBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl sectionBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhatsAppInteractiveMessageBuilder.SectionBuilderaddRow()Add the previously configured row.WhatsAppInteractiveMessageBuilder.SectionRowBuilderdescription(String description)The user visible description of the row.WhatsAppInteractiveMessageBuilder.SectionRowBuilderid(String id)The unique identifier of the row.WhatsAppInteractiveMessageBuilder.SectionRowBuildertitle(String title)The user visible text in the row.
-
-
-
Field Detail
-
sectionBuilder
protected final WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl sectionBuilder
-
row
protected final WhatsAppInteractiveMessageDto.ButtonOrSectionRow row
-
-
Constructor Detail
-
SectionRowBuilderImpl
public SectionRowBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl sectionBuilder)
-
-
Method Detail
-
id
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder id(String id)
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionRowBuilderThe unique identifier of the row. This will be returned by WhatsApp when the user selects this row.- Specified by:
idin interfaceWhatsAppInteractiveMessageBuilder.SectionRowBuilder- Parameters:
id- the row unique identifier- See Also:
WhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
-
title
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder title(String title)
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionRowBuilderThe user visible text in the row.- Specified by:
titlein interfaceWhatsAppInteractiveMessageBuilder.SectionRowBuilder- Parameters:
title- the row content- See Also:
WhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
-
description
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder description(String description)
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionRowBuilderThe user visible description of the row.- Specified by:
descriptionin interfaceWhatsAppInteractiveMessageBuilder.SectionRowBuilder- Parameters:
description- the row description- See Also:
WhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
-
addRow
public WhatsAppInteractiveMessageBuilder.SectionBuilder addRow()
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionRowBuilderAdd the previously configured row. If not invoked then the rest of theWhatsAppInteractiveMessageBuilder.SectionRowBuilderoperations are a noop.- Specified by:
addRowin interfaceWhatsAppInteractiveMessageBuilder.SectionRowBuilder
-
-