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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetStudioSessionMappingResponse.BuildersessionMapping(Consumer<SessionMappingDetail.Builder> sessionMapping)The session mapping details for the specified Amazon EMR Studio and identity, including session policy ARN and creation time.GetStudioSessionMappingResponse.BuildersessionMapping(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
sessionMapping
GetStudioSessionMappingResponse.Builder sessionMapping(SessionMappingDetail 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.Builderavoiding the need to create one manually viaSessionMappingDetail.builder().When the
Consumercompletes,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:
sessionMapping(SessionMappingDetail)
-
-