Class DeleteSessionOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

      public DeleteSessionOptions.Builder assistantId​(String assistantId)
      Set the assistantId.
      Parameters:
      assistantId - the assistantId
      Returns:
      the DeleteSessionOptions builder
    • sessionId

      public DeleteSessionOptions.Builder sessionId​(String sessionId)
      Set the sessionId.
      Parameters:
      sessionId - the sessionId
      Returns:
      the DeleteSessionOptions builder