public static interface GetSessionResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetSessionResponse.Builder |
session(Consumer<Session.Builder> session)
The session object is returned in the response.
|
GetSessionResponse.Builder |
session(Session session)
The session object is returned in the response.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSessionResponse.Builder session(Session session)
The session object is returned in the response.
session - The session object is returned in the response.default GetSessionResponse.Builder session(Consumer<Session.Builder> session)
The session object is returned in the response.
This is a convenience method that creates an instance of theSession.Builder avoiding the need to
create one manually via Session.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to session(Session).
session - a consumer that will call methods on Session.Buildersession(Session)Copyright © 2023. All rights reserved.