public static interface CreateSessionResponse.Builder extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<CreateSessionResponse.Builder,CreateSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateSessionResponse.Builder |
session(Consumer<SessionData.Builder> session)
The session.
|
CreateSessionResponse.Builder |
session(SessionData session)
The session.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSessionResponse.Builder session(SessionData session)
The session.
session - The session.default CreateSessionResponse.Builder session(Consumer<SessionData.Builder> session)
The session.
This is a convenience that creates an instance of theSessionData.Builder avoiding the need to create
one manually via SessionData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to session(SessionData).session - a consumer that will call methods on SessionData.Buildersession(SessionData)Copyright © 2021. All rights reserved.