Interface GetSessionEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionEndpointResponse.Builder,,GetSessionEndpointResponse> EmrResponse.Builder,SdkBuilder<GetSessionEndpointResponse.Builder,,GetSessionEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSessionEndpointResponse
@Mutable
@NotThreadSafe
public static interface GetSessionEndpointResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<GetSessionEndpointResponse.Builder,GetSessionEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA time-limited authentication token used to connect to the Spark Connect endpoint.authTokenExpirationTime(Instant authTokenExpirationTime) The time at which the authentication token expires.credentials(Consumer<Credentials.Builder> credentials) Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.credentials(Credentials credentials) Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.The Spark Connect endpoint URL to use in the PySpark client.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.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
-
endpoint
The Spark Connect endpoint URL to use in the PySpark client.
- Parameters:
endpoint- The Spark Connect endpoint URL to use in the PySpark client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authToken
A time-limited authentication token used to connect to the Spark Connect endpoint.
- Parameters:
authToken- A time-limited authentication token used to connect to the Spark Connect endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authTokenExpirationTime
The time at which the authentication token expires. After this time, call
GetSessionEndpointagain to obtain a new token.- Parameters:
authTokenExpirationTime- The time at which the authentication token expires. After this time, callGetSessionEndpointagain to obtain a new token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.
- Parameters:
credentials- Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.
This is a convenience method that creates an instance of theCredentials.Builderavoiding the need to create one manually viaCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(Credentials).- Parameters:
credentials- a consumer that will call methods onCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-