public static interface GetSessionResponse.Builder extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetSessionResponse.Builder |
session(Consumer<SessionData.Builder> session)
The session.
|
GetSessionResponse.Builder |
session(SessionData session)
The session.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSessionResponse.Builder session(SessionData session)
The session.
session - The session.default GetSessionResponse.Builder session(Consumer<SessionData.Builder> session)
The session.
This is a convenience method 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 © 2023. All rights reserved.