Interface CreateStudioRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStudioRequest.Builder,
,CreateStudioRequest> EmrRequest.Builder
,SdkBuilder<CreateStudioRequest.Builder,
,CreateStudioRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStudioRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the Studio authenticates users using IAM or IAM Identity Center.Specifies whether the Studio authenticates users using IAM or IAM Identity Center.defaultS3Location
(String defaultS3Location) The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.description
(String description) A detailed description of the Amazon EMR Studio.encryptionKeyArn
(String encryptionKeyArn) The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.engineSecurityGroupId
(String engineSecurityGroupId) The ID of the Amazon EMR Studio Engine security group.idcInstanceArn
(String idcInstanceArn) The ARN of the IAM Identity Center instance to create the Studio application.idcUserAssignment
(String idcUserAssignment) Specifies whether IAM Identity Center user assignment isREQUIRED
orOPTIONAL
.idcUserAssignment
(IdcUserAssignment idcUserAssignment) Specifies whether IAM Identity Center user assignment isREQUIRED
orOPTIONAL
.idpAuthUrl
(String idpAuthUrl) The authentication endpoint of your identity provider (IdP).idpRelayStateParameterName
(String idpRelayStateParameterName) The name that your identity provider (IdP) uses for itsRelayState
parameter.A descriptive name for the Amazon EMR Studio.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceRole
(String serviceRole) The IAM role that the Amazon EMR Studio assumes.A list of subnet IDs to associate with the Amazon EMR Studio.subnetIds
(Collection<String> subnetIds) A list of subnet IDs to associate with the Amazon EMR Studio.tags
(Collection<Tag> tags) A list of tags to associate with the Amazon EMR Studio.tags
(Consumer<Tag.Builder>... tags) A list of tags to associate with the Amazon EMR Studio.A list of tags to associate with the Amazon EMR Studio.trustedIdentityPropagationEnabled
(Boolean trustedIdentityPropagationEnabled) A Boolean indicating whether to enable Trusted identity propagation for the Studio.The IAM user role that users and groups assume when logged in to an Amazon EMR Studio.The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.workspaceSecurityGroupId
(String workspaceSecurityGroupId) The ID of the Amazon EMR Studio Workspace security group.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 Details
-
name
A descriptive name for the Amazon EMR Studio.
- Parameters:
name
- A descriptive name for the Amazon EMR Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A detailed description of the Amazon EMR Studio.
- Parameters:
description
- A detailed description of the Amazon EMR Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authMode
Specifies whether the Studio authenticates users using IAM or IAM Identity Center.
- Parameters:
authMode
- Specifies whether the Studio authenticates users using IAM or IAM Identity Center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authMode
Specifies whether the Studio authenticates users using IAM or IAM Identity Center.
- Parameters:
authMode
- Specifies whether the Studio authenticates users using IAM or IAM Identity Center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcId
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
- Parameters:
vpcId
- The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by
VpcId
. Studio users can create a Workspace in any of the specified subnets.- Parameters:
subnetIds
- A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified byVpcId
. Studio users can create a Workspace in any of the specified subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by
VpcId
. Studio users can create a Workspace in any of the specified subnets.- Parameters:
subnetIds
- A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified byVpcId
. Studio users can create a Workspace in any of the specified subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRole
The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.
- Parameters:
serviceRole
- The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userRole
The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a
UserRole
when you use IAM Identity Center authentication. The permissions attached to theUserRole
can be scoped down for each user or group using session policies.- Parameters:
userRole
- The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify aUserRole
when you use IAM Identity Center authentication. The permissions attached to theUserRole
can be scoped down for each user or group using session policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceSecurityGroupId
The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by
VpcId
.- Parameters:
workspaceSecurityGroupId
- The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified byVpcId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineSecurityGroupId
The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by
VpcId
.- Parameters:
engineSecurityGroupId
- The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified byVpcId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultS3Location
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
- Parameters:
defaultS3Location
- The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idpAuthUrl
The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.
- Parameters:
idpAuthUrl
- The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idpRelayStateParameterName
The name that your identity provider (IdP) uses for its
RelayState
parameter. For example,RelayState
orTargetSource
. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. TheRelayState
parameter differs by IdP.- Parameters:
idpRelayStateParameterName
- The name that your identity provider (IdP) uses for itsRelayState
parameter. For example,RelayState
orTargetSource
. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. TheRelayState
parameter differs by IdP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
- Parameters:
tags
- A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
- Parameters:
tags
- A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trustedIdentityPropagationEnabled
CreateStudioRequest.Builder trustedIdentityPropagationEnabled(Boolean trustedIdentityPropagationEnabled) A Boolean indicating whether to enable Trusted identity propagation for the Studio. The default value is
false
.- Parameters:
trustedIdentityPropagationEnabled
- A Boolean indicating whether to enable Trusted identity propagation for the Studio. The default value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idcUserAssignment
Specifies whether IAM Identity Center user assignment is
REQUIRED
orOPTIONAL
. If the value is set toREQUIRED
, users must be explicitly assigned to the Studio application to access the Studio.- Parameters:
idcUserAssignment
- Specifies whether IAM Identity Center user assignment isREQUIRED
orOPTIONAL
. If the value is set toREQUIRED
, users must be explicitly assigned to the Studio application to access the Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idcUserAssignment
Specifies whether IAM Identity Center user assignment is
REQUIRED
orOPTIONAL
. If the value is set toREQUIRED
, users must be explicitly assigned to the Studio application to access the Studio.- Parameters:
idcUserAssignment
- Specifies whether IAM Identity Center user assignment isREQUIRED
orOPTIONAL
. If the value is set toREQUIRED
, users must be explicitly assigned to the Studio application to access the Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idcInstanceArn
The ARN of the IAM Identity Center instance to create the Studio application.
- Parameters:
idcInstanceArn
- The ARN of the IAM Identity Center instance to create the Studio application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.
- Parameters:
encryptionKeyArn
- The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateStudioRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStudioRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-