Interface CreateStudioSessionMappingRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>
,EmrRequest.Builder
,SdkBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateStudioSessionMappingRequest
public static interface CreateStudioSessionMappingRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateStudioSessionMappingRequest.Builder
identityId(String identityId)
The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store.CreateStudioSessionMappingRequest.Builder
identityName(String identityName)
The name of the user or group.CreateStudioSessionMappingRequest.Builder
identityType(String identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.CreateStudioSessionMappingRequest.Builder
identityType(IdentityType identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.CreateStudioSessionMappingRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateStudioSessionMappingRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateStudioSessionMappingRequest.Builder
sessionPolicyArn(String sessionPolicyArn)
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.CreateStudioSessionMappingRequest.Builder
studioId(String studioId)
The ID of the Amazon EMR Studio to which the user or group will be mapped.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
studioId
CreateStudioSessionMappingRequest.Builder studioId(String studioId)
The ID of the Amazon EMR Studio to which the user or group will be mapped.
- Parameters:
studioId
- The ID of the Amazon EMR Studio to which the user or group will be mapped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityId
CreateStudioSessionMappingRequest.Builder identityId(String identityId)
The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either
IdentityName
orIdentityId
must be specified, but not both.- Parameters:
identityId
- The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. EitherIdentityName
orIdentityId
must be specified, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityName
CreateStudioSessionMappingRequest.Builder identityName(String identityName)
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either
IdentityName
orIdentityId
must be specified, but not both.- Parameters:
identityName
- The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. EitherIdentityName
orIdentityId
must be specified, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityType
CreateStudioSessionMappingRequest.Builder identityType(String identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
- Parameters:
identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IdentityType
,IdentityType
-
identityType
CreateStudioSessionMappingRequest.Builder identityType(IdentityType identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
- Parameters:
identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IdentityType
,IdentityType
-
sessionPolicyArn
CreateStudioSessionMappingRequest.Builder sessionPolicyArn(String sessionPolicyArn)
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.
- Parameters:
sessionPolicyArn
- The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateStudioSessionMappingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStudioSessionMappingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-