Interface GetSessionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>,GlueResponse.Builder,SdkBuilder<GetSessionResponse.Builder,GetSessionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSessionResponse
public static interface GetSessionResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSessionResponse.Buildersession(Consumer<Session.Builder> session)The session object is returned in the response.GetSessionResponse.Buildersession(Session session)The session object is returned in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
session
GetSessionResponse.Builder session(Session session)
The session object is returned in the response.
- Parameters:
session- The session object is returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
session
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.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:
session(Session)
-
-