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.Builder
status
(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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 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.Builder
avoiding the need to create one manually viaSessionStatus.builder()
.When the
Consumer
completes,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:
-