Interface GetSessionStatusResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionStatusResponse.Builder,,GetSessionStatusResponse> SdkBuilder<GetSessionStatusResponse.Builder,,GetSessionStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSessionStatusResponse
public static interface GetSessionStatusResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetSessionStatusResponse.Builder,GetSessionStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe session ID.default GetSessionStatusResponse.Builderstatus(Consumer<SessionStatus.Builder> status) Contains information about the status of the session.status(SessionStatus status) Contains information about the status of the session.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
sessionId
The session ID.
- Parameters:
sessionId- The session ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the status of the session.
- Parameters:
status- Contains information about the status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the status of the session.
This is a convenience method that creates an instance of theSessionStatus.Builderavoiding the need to create one manually viaSessionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(SessionStatus).- Parameters:
status- a consumer that will call methods onSessionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-