Interface GetSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionResponse.Builder,,GetSessionResponse> EmrServerlessResponse.Builder,SdkBuilder<GetSessionResponse.Builder,,GetSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSessionResponse
@Mutable
@NotThreadSafe
public static interface GetSessionResponse.Builder
extends EmrServerlessResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetSessionResponse.Buildersession(Consumer<Session.Builder> session) The output displays information about the session.The output displays information about the session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessResponse.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
-
session
The output displays information about the session.
- Parameters:
session- The output displays information about the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
session
The output displays information about the session.
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:
-