Class MessageContextMetadata.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.MessageContextMetadata.Builder
- Enclosing class:
- MessageContextMetadata
public static class MessageContextMetadata.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description MessageContextMetadata
build()
Builds a MessageContextMetadata.MessageContextMetadata.Builder
deployment(String deployment)
Set the deployment.MessageContextMetadata.Builder
userId(String userId)
Set the userId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a MessageContextMetadata.- Returns:
- the new MessageContextMetadata instance
-
deployment
Set the deployment.- Parameters:
deployment
- the deployment- Returns:
- the MessageContextMetadata builder
-
userId
Set the userId.- Parameters:
userId
- the userId- Returns:
- the MessageContextMetadata builder
-