Interface Menu.Builder
- Enclosing interface:
Menu
public static interface Menu.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesee gettersetMainPrompt
(String mainPrompt) see gettersetMaxDigits
(Integer maxDigits) see gettersetMaxTimeoutMills
(Integer maxTimeoutMills) see gettersetOptions
(List<MenuOption> options) see gettersetRepeatPrompt
(String repeatPrompt) see gettersetRepeats
(Integer repeats) see gettersetTimeoutMills
(Integer timeoutMills) see getter
-
Method Details
-
setId
see getter- Parameters:
id
- see getter- Returns:
- Current builder
- See Also:
-
setMainPrompt
see getter- Parameters:
mainPrompt
- see getter- Returns:
- Current builder
- See Also:
-
setRepeatPrompt
see getter- Parameters:
repeatPrompt
- see getter- Returns:
- Current builder
- See Also:
-
setRepeats
see getter- Parameters:
repeats
- see getter- Returns:
- Current builder
- See Also:
-
setMaxDigits
see getter- Parameters:
maxDigits
- see getter- Returns:
- Current builder
- See Also:
-
setTimeoutMills
see getter- Parameters:
timeoutMills
- see getter- Returns:
- Current builder
- See Also:
-
setMaxTimeoutMills
see getter- Parameters:
maxTimeoutMills
- see getter- Returns:
- Current builder
- See Also:
-
setOptions
see getter- Parameters:
options
- see getter- Returns:
- Current builder
- See Also:
-
build
Menu build()Create instance- Returns:
- The instance build with current builder values
-