Interface CreateStudioRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStudioRequest.Builder,CreateStudioRequest>,EmrRequest.Builder,SdkBuilder<CreateStudioRequest.Builder,CreateStudioRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateStudioRequest
public static interface CreateStudioRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<CreateStudioRequest.Builder,CreateStudioRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateStudioRequest.BuilderauthMode(String authMode)Specifies whether the Studio authenticates users using IAM or IAM Identity Center.CreateStudioRequest.BuilderauthMode(AuthMode authMode)Specifies whether the Studio authenticates users using IAM or IAM Identity Center.CreateStudioRequest.BuilderdefaultS3Location(String defaultS3Location)The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.CreateStudioRequest.Builderdescription(String description)A detailed description of the Amazon EMR Studio.CreateStudioRequest.BuilderencryptionKeyArn(String encryptionKeyArn)The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.CreateStudioRequest.BuilderengineSecurityGroupId(String engineSecurityGroupId)The ID of the Amazon EMR Studio Engine security group.CreateStudioRequest.BuilderidcInstanceArn(String idcInstanceArn)The ARN of the IAM Identity Center instance to create the Studio application.CreateStudioRequest.BuilderidcUserAssignment(String idcUserAssignment)Specifies whether IAM Identity Center user assignment isREQUIREDorOPTIONAL.CreateStudioRequest.BuilderidcUserAssignment(IdcUserAssignment idcUserAssignment)Specifies whether IAM Identity Center user assignment isREQUIREDorOPTIONAL.CreateStudioRequest.BuilderidpAuthUrl(String idpAuthUrl)The authentication endpoint of your identity provider (IdP).CreateStudioRequest.BuilderidpRelayStateParameterName(String idpRelayStateParameterName)The name that your identity provider (IdP) uses for itsRelayStateparameter.CreateStudioRequest.Buildername(String name)A descriptive name for the Amazon EMR Studio.CreateStudioRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateStudioRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateStudioRequest.BuilderserviceRole(String serviceRole)The IAM role that the Amazon EMR Studio assumes.CreateStudioRequest.BuildersubnetIds(String... subnetIds)A list of subnet IDs to associate with the Amazon EMR Studio.CreateStudioRequest.BuildersubnetIds(Collection<String> subnetIds)A list of subnet IDs to associate with the Amazon EMR Studio.CreateStudioRequest.Buildertags(Collection<Tag> tags)A list of tags to associate with the Amazon EMR Studio.CreateStudioRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to associate with the Amazon EMR Studio.CreateStudioRequest.Buildertags(Tag... tags)A list of tags to associate with the Amazon EMR Studio.CreateStudioRequest.BuildertrustedIdentityPropagationEnabled(Boolean trustedIdentityPropagationEnabled)A Boolean indicating whether to enable Trusted identity propagation for the Studio.CreateStudioRequest.BuilderuserRole(String userRole)The IAM user role that users and groups assume when logged in to an Amazon EMR Studio.CreateStudioRequest.BuildervpcId(String vpcId)The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.CreateStudioRequest.BuilderworkspaceSecurityGroupId(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateStudioRequest.Builder name(String 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
CreateStudioRequest.Builder description(String 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
CreateStudioRequest.Builder authMode(String authMode)
Specifies whether the Studio authenticates users using IAM or IAM Identity Center.
-
authMode
CreateStudioRequest.Builder authMode(AuthMode authMode)
Specifies whether the Studio authenticates users using IAM or IAM Identity Center.
-
vpcId
CreateStudioRequest.Builder vpcId(String 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
CreateStudioRequest.Builder subnetIds(Collection<String> 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
CreateStudioRequest.Builder subnetIds(String... 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
CreateStudioRequest.Builder serviceRole(String 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
CreateStudioRequest.Builder userRole(String userRole)
The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a
UserRolewhen you use IAM Identity Center authentication. The permissions attached to theUserRolecan 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 aUserRolewhen you use IAM Identity Center authentication. The permissions attached to theUserRolecan 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
CreateStudioRequest.Builder workspaceSecurityGroupId(String 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
CreateStudioRequest.Builder engineSecurityGroupId(String 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
CreateStudioRequest.Builder defaultS3Location(String 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
CreateStudioRequest.Builder idpAuthUrl(String 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
CreateStudioRequest.Builder idpRelayStateParameterName(String idpRelayStateParameterName)
The name that your identity provider (IdP) uses for its
RelayStateparameter. For example,RelayStateorTargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. TheRelayStateparameter differs by IdP.- Parameters:
idpRelayStateParameterName- The name that your identity provider (IdP) uses for itsRelayStateparameter. For example,RelayStateorTargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. TheRelayStateparameter differs by IdP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateStudioRequest.Builder tags(Collection<Tag> 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
CreateStudioRequest.Builder tags(Tag... 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
CreateStudioRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
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
CreateStudioRequest.Builder idcUserAssignment(String idcUserAssignment)
Specifies whether IAM Identity Center user assignment is
REQUIREDorOPTIONAL. 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 isREQUIREDorOPTIONAL. 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,IdcUserAssignment
-
idcUserAssignment
CreateStudioRequest.Builder idcUserAssignment(IdcUserAssignment idcUserAssignment)
Specifies whether IAM Identity Center user assignment is
REQUIREDorOPTIONAL. 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 isREQUIREDorOPTIONAL. 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,IdcUserAssignment
-
idcInstanceArn
CreateStudioRequest.Builder idcInstanceArn(String 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
CreateStudioRequest.Builder encryptionKeyArn(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStudioRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-