Class DialogNodeOutputOptionsElementValue.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutputOptionsElementValue.Builder
- Enclosing class:
- DialogNodeOutputOptionsElementValue
public static class DialogNodeOutputOptionsElementValue.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description DialogNodeOutputOptionsElementValue.Builder
addEntities(RuntimeEntity entities)
Adds an entities to entities.DialogNodeOutputOptionsElementValue.Builder
addIntents(RuntimeIntent intents)
Adds an intents to intents.DialogNodeOutputOptionsElementValue
build()
Builds a DialogNodeOutputOptionsElementValue.DialogNodeOutputOptionsElementValue.Builder
entities(List<RuntimeEntity> entities)
Set the entities.DialogNodeOutputOptionsElementValue.Builder
input(MessageInput input)
Set the input.DialogNodeOutputOptionsElementValue.Builder
intents(List<RuntimeIntent> intents)
Set the intents.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a DialogNodeOutputOptionsElementValue.- Returns:
- the new DialogNodeOutputOptionsElementValue instance
-
addIntents
Adds an intents to intents.- Parameters:
intents
- the new intents- Returns:
- the DialogNodeOutputOptionsElementValue builder
-
addEntities
Adds an entities to entities.- Parameters:
entities
- the new entities- Returns:
- the DialogNodeOutputOptionsElementValue builder
-
input
Set the input.- Parameters:
input
- the input- Returns:
- the DialogNodeOutputOptionsElementValue builder
-
intents
Set the intents. Existing intents will be replaced.- Parameters:
intents
- the intents- Returns:
- the DialogNodeOutputOptionsElementValue builder
-
entities
Set the entities. Existing entities will be replaced.- Parameters:
entities
- the entities- Returns:
- the DialogNodeOutputOptionsElementValue builder
-