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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public MessageContextMetadata build()
      Builds a MessageContextMetadata.
      Returns:
      the new MessageContextMetadata instance
    • deployment

      public MessageContextMetadata.Builder deployment​(String deployment)
      Set the deployment.
      Parameters:
      deployment - the deployment
      Returns:
      the MessageContextMetadata builder
    • userId

      public MessageContextMetadata.Builder userId​(String userId)
      Set the userId.
      Parameters:
      userId - the userId
      Returns:
      the MessageContextMetadata builder