Interface CreateStudioSessionMappingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStudioSessionMappingRequest.Builder,,CreateStudioSessionMappingRequest> EmrRequest.Builder,SdkBuilder<CreateStudioSessionMappingRequest.Builder,,CreateStudioSessionMappingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateStudioSessionMappingRequest
-
Method Summary
Modifier and TypeMethodDescriptionidentityId(String identityId) The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store.identityName(String identityName) The name of the user or group.identityType(String identityType) Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.identityType(IdentityType identityType) Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sessionPolicyArn(String sessionPolicyArn) The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
IdentityNameorIdentityIdmust 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. EitherIdentityNameorIdentityIdmust be specified, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
IdentityNameorIdentityIdmust 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. EitherIdentityNameorIdentityIdmust be specified, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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:
-
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStudioSessionMappingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-