Class MessageContextSkillSystem.Builder
java.lang.Object
com.ibm.watson.assistant.v2.model.MessageContextSkillSystem.Builder
- Enclosing class:
- MessageContextSkillSystem
public static class MessageContextSkillSystem.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description MessageContextSkillSystem.Builder
add(String name, Object value)
Add an arbitrary property.MessageContextSkillSystem
build()
Builds a MessageContextSkillSystem.MessageContextSkillSystem.Builder
state(String state)
Set the state.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a MessageContextSkillSystem.- Returns:
- the new MessageContextSkillSystem instance
-
state
Set the state.- Parameters:
state
- the state- Returns:
- the MessageContextSkillSystem builder
-
add
Add an arbitrary property.- Parameters:
name
- the name of the property to addvalue
- the value of the property to add- Returns:
- the MessageContextSkillSystem builder
-