Interface GetSessionEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionEndpointResponse.Builder,,GetSessionEndpointResponse> GlueResponse.Builder,SdkBuilder<GetSessionEndpointResponse.Builder,,GetSessionEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSessionEndpointResponse
@Mutable
@NotThreadSafe
public static interface GetSessionEndpointResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetSessionEndpointResponse.Builder,GetSessionEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsparkConnect(Consumer<SessionEndpoint.Builder> sparkConnect) The Spark Connect endpoint details for the session.sparkConnect(SessionEndpoint sparkConnect) The Spark Connect endpoint details for the session.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sparkConnect
The Spark Connect endpoint details for the session.
- Parameters:
sparkConnect- The Spark Connect endpoint details for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sparkConnect
default GetSessionEndpointResponse.Builder sparkConnect(Consumer<SessionEndpoint.Builder> sparkConnect) The Spark Connect endpoint details for the session.
This is a convenience method that creates an instance of theSessionEndpoint.Builderavoiding the need to create one manually viaSessionEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosparkConnect(SessionEndpoint).- Parameters:
sparkConnect- a consumer that will call methods onSessionEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-