Interface CreateSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSessionResponse.Builder,,CreateSessionResponse> GlueResponse.Builder,SdkBuilder<CreateSessionResponse.Builder,,CreateSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSessionResponse
public static interface CreateSessionResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<CreateSessionResponse.Builder,CreateSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateSessionResponse.Buildersession(Consumer<Session.Builder> session) Returns the session object in the response.Returns the session object in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
session
Returns the session object in the response.
- Parameters:
session- Returns the session object in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
session
Returns the session object in the response.
This is a convenience method that creates an instance of theSession.Builderavoiding the need to create one manually viaSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosession(Session).- Parameters:
session- a consumer that will call methods onSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-