Class MessageContext.Builder
java.lang.Object
com.ibm.watson.assistant.v2.model.MessageContext.Builder
- Enclosing class:
- MessageContext
public static class MessageContext.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description MessageContext
build()
Builds a MessageContext.MessageContext.Builder
global(MessageContextGlobal global)
Set the global.MessageContext.Builder
skills(Map<String,MessageContextSkill> skills)
Set the skills.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a MessageContext.- Returns:
- the new MessageContext instance
-
global
Set the global.- Parameters:
global
- the global- Returns:
- the MessageContext builder
-
skills
Set the skills.- Parameters:
skills
- the skills- Returns:
- the MessageContext builder
-