Interface GetStudioSessionMappingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetStudioSessionMappingResponse.Builder,
,GetStudioSessionMappingResponse> EmrResponse.Builder
,SdkBuilder<GetStudioSessionMappingResponse.Builder,
,GetStudioSessionMappingResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetStudioSessionMappingResponse
public static interface GetStudioSessionMappingResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<GetStudioSessionMappingResponse.Builder,GetStudioSessionMappingResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsessionMapping
(Consumer<SessionMappingDetail.Builder> sessionMapping) The session mapping details for the specified Amazon EMR Studio and identity, including session policy ARN and creation time.sessionMapping
(SessionMappingDetail sessionMapping) The session mapping details for the specified Amazon EMR Studio and identity, including session policy ARN and creation time.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.Builder
build, responseMetadata, responseMetadata
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
-
sessionMapping
The session mapping details for the specified Amazon EMR Studio and identity, including session policy ARN and creation time.
- Parameters:
sessionMapping
- The session mapping details for the specified Amazon EMR Studio and identity, including session policy ARN and creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionMapping
default GetStudioSessionMappingResponse.Builder sessionMapping(Consumer<SessionMappingDetail.Builder> sessionMapping) The session mapping details for the specified Amazon EMR Studio and identity, including session policy ARN and creation time.
This is a convenience method that creates an instance of theSessionMappingDetail.Builder
avoiding the need to create one manually viaSessionMappingDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessionMapping(SessionMappingDetail)
.- Parameters:
sessionMapping
- a consumer that will call methods onSessionMappingDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-