Interface GetStudioSessionMappingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetStudioSessionMappingResponse.Builder,,GetStudioSessionMappingResponse> EmrResponse.Builder,SdkBuilder<GetStudioSessionMappingResponse.Builder,,GetStudioSessionMappingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetStudioSessionMappingResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.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
-
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:
-