Interface ChoiceItem.Builder
- Enclosing interface:
ChoiceItem
public static interface ChoiceItem.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetDescription
(String description) see gettersetMedia
(MediaMessage media) see gettersetPostbackData
(String postbackData) see gettersee getter
-
Method Details
-
setTitle
see getter- Parameters:
title
- see getter- Returns:
- Current builder
- See Also:
-
setDescription
see getter- Parameters:
description
- see getter- Returns:
- Current builder
- See Also:
-
setMedia
see getter- Parameters:
media
- see getter- Returns:
- Current builder
- See Also:
-
setPostbackData
see getter- Parameters:
postbackData
- see getter- Returns:
- Current builder
- See Also:
-
build
ChoiceItem build()Create instance- Returns:
- The instance build with current builder values
-