public static interface CreateSessionResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<CreateSessionResponse.Builder,CreateSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateSessionResponse.Builder |
session(Consumer<Session.Builder> session)
Returns the session object in the response.
|
CreateSessionResponse.Builder |
session(Session session)
Returns the session object in the response.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSessionResponse.Builder session(Session session)
Returns the session object in the response.
session - Returns the session object in the response.default CreateSessionResponse.Builder session(Consumer<Session.Builder> session)
Returns the session object 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.