Class WorkspaceSystemSettingsDisambiguation.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.WorkspaceSystemSettingsDisambiguation.Builder
- Enclosing class:
- WorkspaceSystemSettingsDisambiguation
public static class WorkspaceSystemSettingsDisambiguation.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description WorkspaceSystemSettingsDisambiguation
build()
Builds a WorkspaceSystemSettingsDisambiguation.WorkspaceSystemSettingsDisambiguation.Builder
enabled(Boolean enabled)
Set the enabled.WorkspaceSystemSettingsDisambiguation.Builder
maxSuggestions(long maxSuggestions)
Set the maxSuggestions.WorkspaceSystemSettingsDisambiguation.Builder
noneOfTheAbovePrompt(String noneOfTheAbovePrompt)
Set the noneOfTheAbovePrompt.WorkspaceSystemSettingsDisambiguation.Builder
prompt(String prompt)
Set the prompt.WorkspaceSystemSettingsDisambiguation.Builder
randomize(Boolean randomize)
Set the randomize.WorkspaceSystemSettingsDisambiguation.Builder
sensitivity(String sensitivity)
Set the sensitivity.WorkspaceSystemSettingsDisambiguation.Builder
suggestionTextPolicy(String suggestionTextPolicy)
Set the suggestionTextPolicy.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a WorkspaceSystemSettingsDisambiguation.- Returns:
- the new WorkspaceSystemSettingsDisambiguation instance
-
prompt
Set the prompt.- Parameters:
prompt
- the prompt- Returns:
- the WorkspaceSystemSettingsDisambiguation builder
-
noneOfTheAbovePrompt
public WorkspaceSystemSettingsDisambiguation.Builder noneOfTheAbovePrompt(String noneOfTheAbovePrompt)Set the noneOfTheAbovePrompt.- Parameters:
noneOfTheAbovePrompt
- the noneOfTheAbovePrompt- Returns:
- the WorkspaceSystemSettingsDisambiguation builder
-
enabled
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the WorkspaceSystemSettingsDisambiguation builder
-
sensitivity
Set the sensitivity.- Parameters:
sensitivity
- the sensitivity- Returns:
- the WorkspaceSystemSettingsDisambiguation builder
-
randomize
Set the randomize.- Parameters:
randomize
- the randomize- Returns:
- the WorkspaceSystemSettingsDisambiguation builder
-
maxSuggestions
Set the maxSuggestions.- Parameters:
maxSuggestions
- the maxSuggestions- Returns:
- the WorkspaceSystemSettingsDisambiguation builder
-
suggestionTextPolicy
public WorkspaceSystemSettingsDisambiguation.Builder suggestionTextPolicy(String suggestionTextPolicy)Set the suggestionTextPolicy.- Parameters:
suggestionTextPolicy
- the suggestionTextPolicy- Returns:
- the WorkspaceSystemSettingsDisambiguation builder
-