public static class WhatsAppInteractiveMessageBuilderImpl.SectionRowBuilderImpl extends Object implements WhatsAppInteractiveMessageBuilder.SectionRowBuilder
Modifier and Type | Field and Description |
---|---|
protected WhatsAppInteractiveMessageDto.ButtonOrSectionRow |
row |
protected WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl |
sectionBuilder |
Constructor and Description |
---|
SectionRowBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl sectionBuilder) |
Modifier and Type | Method and 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.
|
protected final WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl sectionBuilder
protected final WhatsAppInteractiveMessageDto.ButtonOrSectionRow row
public SectionRowBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl sectionBuilder)
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder id(String id)
WhatsAppInteractiveMessageBuilder.SectionRowBuilder
id
in interface WhatsAppInteractiveMessageBuilder.SectionRowBuilder
id
- the row unique identifierWhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder title(String title)
WhatsAppInteractiveMessageBuilder.SectionRowBuilder
title
in interface WhatsAppInteractiveMessageBuilder.SectionRowBuilder
title
- the row contentWhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder description(String description)
WhatsAppInteractiveMessageBuilder.SectionRowBuilder
description
in interface WhatsAppInteractiveMessageBuilder.SectionRowBuilder
description
- the row descriptionWhatsAppInteractiveMessageBuilder.SectionRowBuilder.addRow()
public WhatsAppInteractiveMessageBuilder.SectionBuilder addRow()
WhatsAppInteractiveMessageBuilder.SectionRowBuilder
WhatsAppInteractiveMessageBuilder.SectionRowBuilder
operations are a noop.addRow
in interface WhatsAppInteractiveMessageBuilder.SectionRowBuilder