Class EmrStudioConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.emr_studio.EmrStudioConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmrStudioConfig>
- Enclosing interface:
- EmrStudioConfig
@Stability(Stable) public static final class EmrStudioConfig.Builder extends Object implements software.amazon.jsii.Builder<EmrStudioConfig>
A builder forEmrStudioConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmrStudioConfig.BuilderauthMode(String authMode)Sets the value ofEmrStudioConfig.getAuthMode()EmrStudioConfigbuild()Builds the configured instance.EmrStudioConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EmrStudioConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EmrStudioConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()EmrStudioConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()EmrStudioConfig.BuilderdefaultS3Location(String defaultS3Location)Sets the value ofEmrStudioConfig.getDefaultS3Location()EmrStudioConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()EmrStudioConfig.Builderdescription(String description)Sets the value ofEmrStudioConfig.getDescription()EmrStudioConfig.BuilderengineSecurityGroupId(String engineSecurityGroupId)Sets the value ofEmrStudioConfig.getEngineSecurityGroupId()EmrStudioConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()EmrStudioConfig.Builderid(String id)Sets the value ofEmrStudioConfig.getId()EmrStudioConfig.BuilderidpAuthUrl(String idpAuthUrl)Sets the value ofEmrStudioConfig.getIdpAuthUrl()EmrStudioConfig.BuilderidpRelayStateParameterName(String idpRelayStateParameterName)Sets the value ofEmrStudioConfig.getIdpRelayStateParameterName()EmrStudioConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()EmrStudioConfig.Buildername(String name)Sets the value ofEmrStudioConfig.getName()EmrStudioConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()EmrStudioConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()EmrStudioConfig.BuilderserviceRole(String serviceRole)Sets the value ofEmrStudioConfig.getServiceRole()EmrStudioConfig.BuildersubnetIds(List<String> subnetIds)Sets the value ofEmrStudioConfig.getSubnetIds()EmrStudioConfig.Buildertags(Map<String,String> tags)Sets the value ofEmrStudioConfig.getTags()EmrStudioConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofEmrStudioConfig.getTagsAll()EmrStudioConfig.BuilderuserRole(String userRole)Sets the value ofEmrStudioConfig.getUserRole()EmrStudioConfig.BuildervpcId(String vpcId)Sets the value ofEmrStudioConfig.getVpcId()EmrStudioConfig.BuilderworkspaceSecurityGroupId(String workspaceSecurityGroupId)Sets the value ofEmrStudioConfig.getWorkspaceSecurityGroupId()
-
-
-
Method Detail
-
authMode
@Stability(Stable) public EmrStudioConfig.Builder authMode(String authMode)
Sets the value ofEmrStudioConfig.getAuthMode()- Parameters:
authMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#auth_mode EmrStudio#auth_mode}. This parameter is required.- Returns:
this
-
defaultS3Location
@Stability(Stable) public EmrStudioConfig.Builder defaultS3Location(String defaultS3Location)
Sets the value ofEmrStudioConfig.getDefaultS3Location()- Parameters:
defaultS3Location- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#default_s3_location EmrStudio#default_s3_location}. This parameter is required.- Returns:
this
-
engineSecurityGroupId
@Stability(Stable) public EmrStudioConfig.Builder engineSecurityGroupId(String engineSecurityGroupId)
Sets the value ofEmrStudioConfig.getEngineSecurityGroupId()- Parameters:
engineSecurityGroupId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#engine_security_group_id EmrStudio#engine_security_group_id}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public EmrStudioConfig.Builder name(String name)
Sets the value ofEmrStudioConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#name EmrStudio#name}. This parameter is required.- Returns:
this
-
serviceRole
@Stability(Stable) public EmrStudioConfig.Builder serviceRole(String serviceRole)
Sets the value ofEmrStudioConfig.getServiceRole()- Parameters:
serviceRole- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#service_role EmrStudio#service_role}. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public EmrStudioConfig.Builder subnetIds(List<String> subnetIds)
Sets the value ofEmrStudioConfig.getSubnetIds()- Parameters:
subnetIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#subnet_ids EmrStudio#subnet_ids}. This parameter is required.- Returns:
this
-
vpcId
@Stability(Stable) public EmrStudioConfig.Builder vpcId(String vpcId)
Sets the value ofEmrStudioConfig.getVpcId()- Parameters:
vpcId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#vpc_id EmrStudio#vpc_id}. This parameter is required.- Returns:
this
-
workspaceSecurityGroupId
@Stability(Stable) public EmrStudioConfig.Builder workspaceSecurityGroupId(String workspaceSecurityGroupId)
Sets the value ofEmrStudioConfig.getWorkspaceSecurityGroupId()- Parameters:
workspaceSecurityGroupId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#workspace_security_group_id EmrStudio#workspace_security_group_id}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public EmrStudioConfig.Builder description(String description)
Sets the value ofEmrStudioConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#description EmrStudio#description}.- Returns:
this
-
id
@Stability(Stable) public EmrStudioConfig.Builder id(String id)
Sets the value ofEmrStudioConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#id EmrStudio#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
idpAuthUrl
@Stability(Stable) public EmrStudioConfig.Builder idpAuthUrl(String idpAuthUrl)
Sets the value ofEmrStudioConfig.getIdpAuthUrl()- Parameters:
idpAuthUrl- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#idp_auth_url EmrStudio#idp_auth_url}.- Returns:
this
-
idpRelayStateParameterName
@Stability(Stable) public EmrStudioConfig.Builder idpRelayStateParameterName(String idpRelayStateParameterName)
Sets the value ofEmrStudioConfig.getIdpRelayStateParameterName()- Parameters:
idpRelayStateParameterName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#idp_relay_state_parameter_name EmrStudio#idp_relay_state_parameter_name}.- Returns:
this
-
tags
@Stability(Stable) public EmrStudioConfig.Builder tags(Map<String,String> tags)
Sets the value ofEmrStudioConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#tags EmrStudio#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public EmrStudioConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofEmrStudioConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#tags_all EmrStudio#tags_all}.- Returns:
this
-
userRole
@Stability(Stable) public EmrStudioConfig.Builder userRole(String userRole)
Sets the value ofEmrStudioConfig.getUserRole()- Parameters:
userRole- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/emr_studio#user_role EmrStudio#user_role}.- Returns:
this
-
connection
@Stability(Experimental) public EmrStudioConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public EmrStudioConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EmrStudioConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EmrStudioConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public EmrStudioConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public EmrStudioConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public EmrStudioConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public EmrStudioConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public EmrStudioConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public EmrStudioConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EmrStudioConfig>- Returns:
- a new instance of
EmrStudioConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-