Class CreateSessionOptions.Builder

java.lang.Object
com.ibm.watson.assistant.v2.model.CreateSessionOptions.Builder
Enclosing class:
CreateSessionOptions

public static class CreateSessionOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String assistantId)
      Instantiates a new builder with required properties.
      Parameters:
      assistantId - the assistantId
  • Method Details

    • build

      public CreateSessionOptions build()
      Builds a CreateSessionOptions.
      Returns:
      the new CreateSessionOptions instance
    • assistantId

      public CreateSessionOptions.Builder assistantId​(String assistantId)
      Set the assistantId.
      Parameters:
      assistantId - the assistantId
      Returns:
      the CreateSessionOptions builder