public static class DialogNodeOutput.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DialogNodeOutput.Builder |
add(String name,
Object value)
Add an arbitrary property.
|
DialogNodeOutput.Builder |
addGeneric(DialogNodeOutputGeneric generic)
Adds a new element to generic.
|
DialogNodeOutput |
build()
Builds a DialogNodeOutput.
|
DialogNodeOutput.Builder |
generic(List<DialogNodeOutputGeneric> generic)
Set the generic.
|
DialogNodeOutput.Builder |
integrations(Map<String,Map<String,Object>> integrations)
Set the integrations.
|
DialogNodeOutput.Builder |
modifiers(DialogNodeOutputModifiers modifiers)
Set the modifiers.
|
public DialogNodeOutput build()
public DialogNodeOutput.Builder addGeneric(DialogNodeOutputGeneric generic)
generic
- the new element to be addedpublic DialogNodeOutput.Builder generic(List<DialogNodeOutputGeneric> generic)
generic
- the genericpublic DialogNodeOutput.Builder integrations(Map<String,Map<String,Object>> integrations)
integrations
- the integrationspublic DialogNodeOutput.Builder modifiers(DialogNodeOutputModifiers modifiers)
modifiers
- the modifierspublic DialogNodeOutput.Builder add(String name, Object value)
name
- the name of the property to addvalue
- the value of the property to addCopyright © 2024 IBM Cloud. All rights reserved.