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 Summary
-
Method Summary
Modifier and Type Method Description CreateSessionOptions.Builder
assistantId(String assistantId)
Set the assistantId.CreateSessionOptions
build()
Builds a CreateSessionOptions.
-
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 CreateSessionOptions.- Returns:
- the new CreateSessionOptions instance
-
assistantId
Set the assistantId.- Parameters:
assistantId
- the assistantId- Returns:
- the CreateSessionOptions builder
-