Class MessageStatelessOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v2.model.MessageStatelessOptions.Builder
- Enclosing class:
- MessageStatelessOptions
public static class MessageStatelessOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description MessageStatelessOptions.Builder
assistantId(String assistantId)
Set the assistantId.MessageStatelessOptions
build()
Builds a MessageStatelessOptions.MessageStatelessOptions.Builder
context(MessageContextStateless context)
Set the context.MessageStatelessOptions.Builder
input(MessageInputStateless input)
Set the input.MessageStatelessOptions.Builder
userId(String userId)
Set the userId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
assistantId
- the assistantId
-
-
Method Details
-
build
Builds a MessageStatelessOptions.- Returns:
- the new MessageStatelessOptions instance
-
assistantId
Set the assistantId.- Parameters:
assistantId
- the assistantId- Returns:
- the MessageStatelessOptions builder
-
input
Set the input.- Parameters:
input
- the input- Returns:
- the MessageStatelessOptions builder
-
context
Set the context.- Parameters:
context
- the context- Returns:
- the MessageStatelessOptions builder
-
userId
Set the userId.- Parameters:
userId
- the userId- Returns:
- the MessageStatelessOptions builder
-