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 Summary
-
Method Summary
Modifier and Type Method Description DeleteSessionOptions.Builder
assistantId(String assistantId)
Set the assistantId.DeleteSessionOptions
build()
Builds a DeleteSessionOptions.DeleteSessionOptions.Builder
sessionId(String sessionId)
Set the sessionId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
assistantId
- the assistantIdsessionId
- the sessionId
-
-
Method Details
-
build
Builds a DeleteSessionOptions.- Returns:
- the new DeleteSessionOptions instance
-
assistantId
Set the assistantId.- Parameters:
assistantId
- the assistantId- Returns:
- the DeleteSessionOptions builder
-
sessionId
Set the sessionId.- Parameters:
sessionId
- the sessionId- Returns:
- the DeleteSessionOptions builder
-