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.ButtonOrSectionRow
row
protected WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl
sectionBuilder
-
Constructor Summary
Constructors Constructor Description SectionRowBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl sectionBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhatsAppInteractiveMessageBuilder.SectionBuilder
addRow()
Add the previously configured row.WhatsAppInteractiveMessageBuilder.SectionRowBuilder
description(String description)
The user visible description of the row.WhatsAppInteractiveMessageBuilder.SectionRowBuilder
id(String id)
The unique identifier of the row.WhatsAppInteractiveMessageBuilder.SectionRowBuilder
title(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.SectionRowBuilder
The unique identifier of the row. This will be returned by WhatsApp when the user selects this row.- Specified by:
id
in 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.SectionRowBuilder
The user visible text in the row.- Specified by:
title
in interfaceWhatsAppInteractiveMessageBuilder.SectionRowBuilder
- Parameters:
title
- the row content- See Also:
WhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
-
description
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder description(String description)
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionRowBuilder
The user visible description of the row.- Specified by:
description
in interfaceWhatsAppInteractiveMessageBuilder.SectionRowBuilder
- Parameters:
description
- the row description- See Also:
WhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
-
addRow
public WhatsAppInteractiveMessageBuilder.SectionBuilder addRow()
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionRowBuilder
Add the previously configured row. If not invoked then the rest of theWhatsAppInteractiveMessageBuilder.SectionRowBuilder
operations are a noop.- Specified by:
addRow
in interfaceWhatsAppInteractiveMessageBuilder.SectionRowBuilder
-
-