Class DbProxyConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.db_proxy.DbProxyConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DbProxyConfig>
- Enclosing interface:
- DbProxyConfig
@Stability(Stable) public static final class DbProxyConfig.Builder extends Object implements software.amazon.jsii.Builder<DbProxyConfig>
A builder forDbProxyConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbProxyConfig.Builderauth(com.hashicorp.cdktf.IResolvable auth)Sets the value ofDbProxyConfig.getAuth()DbProxyConfig.Builderauth(List<? extends DbProxyAuth> auth)Sets the value ofDbProxyConfig.getAuth()DbProxyConfigbuild()Builds the configured instance.DbProxyConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DbProxyConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DbProxyConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DbProxyConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DbProxyConfig.BuilderdebugLogging(com.hashicorp.cdktf.IResolvable debugLogging)Sets the value ofDbProxyConfig.getDebugLogging()DbProxyConfig.BuilderdebugLogging(Boolean debugLogging)Sets the value ofDbProxyConfig.getDebugLogging()DbProxyConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DbProxyConfig.BuilderengineFamily(String engineFamily)Sets the value ofDbProxyConfig.getEngineFamily()DbProxyConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DbProxyConfig.Builderid(String id)Sets the value ofDbProxyConfig.getId()DbProxyConfig.BuilderidleClientTimeout(Number idleClientTimeout)Sets the value ofDbProxyConfig.getIdleClientTimeout()DbProxyConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DbProxyConfig.Buildername(String name)Sets the value ofDbProxyConfig.getName()DbProxyConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DbProxyConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DbProxyConfig.BuilderrequireTls(com.hashicorp.cdktf.IResolvable requireTls)Sets the value ofDbProxyConfig.getRequireTls()DbProxyConfig.BuilderrequireTls(Boolean requireTls)Sets the value ofDbProxyConfig.getRequireTls()DbProxyConfig.BuilderroleArn(String roleArn)Sets the value ofDbProxyConfig.getRoleArn()DbProxyConfig.Buildertags(Map<String,String> tags)Sets the value ofDbProxyConfig.getTags()DbProxyConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofDbProxyConfig.getTagsAll()DbProxyConfig.Buildertimeouts(DbProxyTimeouts timeouts)Sets the value ofDbProxyConfig.getTimeouts()DbProxyConfig.BuildervpcSecurityGroupIds(List<String> vpcSecurityGroupIds)Sets the value ofDbProxyConfig.getVpcSecurityGroupIds()DbProxyConfig.BuildervpcSubnetIds(List<String> vpcSubnetIds)Sets the value ofDbProxyConfig.getVpcSubnetIds()
-
-
-
Method Detail
-
auth
@Stability(Stable) public DbProxyConfig.Builder auth(com.hashicorp.cdktf.IResolvable auth)
Sets the value ofDbProxyConfig.getAuth()- Parameters:
auth- auth block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#auth DbProxy#auth}- Returns:
this
-
auth
@Stability(Stable) public DbProxyConfig.Builder auth(List<? extends DbProxyAuth> auth)
Sets the value ofDbProxyConfig.getAuth()- Parameters:
auth- auth block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#auth DbProxy#auth}- Returns:
this
-
engineFamily
@Stability(Stable) public DbProxyConfig.Builder engineFamily(String engineFamily)
Sets the value ofDbProxyConfig.getEngineFamily()- Parameters:
engineFamily- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#engine_family DbProxy#engine_family}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DbProxyConfig.Builder name(String name)
Sets the value ofDbProxyConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#name DbProxy#name}. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public DbProxyConfig.Builder roleArn(String roleArn)
Sets the value ofDbProxyConfig.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#role_arn DbProxy#role_arn}. This parameter is required.- Returns:
this
-
vpcSubnetIds
@Stability(Stable) public DbProxyConfig.Builder vpcSubnetIds(List<String> vpcSubnetIds)
Sets the value ofDbProxyConfig.getVpcSubnetIds()- Parameters:
vpcSubnetIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#vpc_subnet_ids DbProxy#vpc_subnet_ids}. This parameter is required.- Returns:
this
-
debugLogging
@Stability(Stable) public DbProxyConfig.Builder debugLogging(Boolean debugLogging)
Sets the value ofDbProxyConfig.getDebugLogging()- Parameters:
debugLogging- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#debug_logging DbProxy#debug_logging}.- Returns:
this
-
debugLogging
@Stability(Stable) public DbProxyConfig.Builder debugLogging(com.hashicorp.cdktf.IResolvable debugLogging)
Sets the value ofDbProxyConfig.getDebugLogging()- Parameters:
debugLogging- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#debug_logging DbProxy#debug_logging}.- Returns:
this
-
id
@Stability(Stable) public DbProxyConfig.Builder id(String id)
Sets the value ofDbProxyConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#id DbProxy#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
-
idleClientTimeout
@Stability(Stable) public DbProxyConfig.Builder idleClientTimeout(Number idleClientTimeout)
Sets the value ofDbProxyConfig.getIdleClientTimeout()- Parameters:
idleClientTimeout- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#idle_client_timeout DbProxy#idle_client_timeout}.- Returns:
this
-
requireTls
@Stability(Stable) public DbProxyConfig.Builder requireTls(Boolean requireTls)
Sets the value ofDbProxyConfig.getRequireTls()- Parameters:
requireTls- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#require_tls DbProxy#require_tls}.- Returns:
this
-
requireTls
@Stability(Stable) public DbProxyConfig.Builder requireTls(com.hashicorp.cdktf.IResolvable requireTls)
Sets the value ofDbProxyConfig.getRequireTls()- Parameters:
requireTls- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#require_tls DbProxy#require_tls}.- Returns:
this
-
tags
@Stability(Stable) public DbProxyConfig.Builder tags(Map<String,String> tags)
Sets the value ofDbProxyConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#tags DbProxy#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DbProxyConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDbProxyConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#tags_all DbProxy#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public DbProxyConfig.Builder timeouts(DbProxyTimeouts timeouts)
Sets the value ofDbProxyConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#timeouts DbProxy#timeouts}- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public DbProxyConfig.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
Sets the value ofDbProxyConfig.getVpcSecurityGroupIds()- Parameters:
vpcSecurityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy#vpc_security_group_ids DbProxy#vpc_security_group_ids}.- Returns:
this
-
connection
@Stability(Experimental) public DbProxyConfig.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 DbProxyConfig.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 DbProxyConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DbProxyConfig.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 DbProxyConfig.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 DbProxyConfig.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 DbProxyConfig.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 DbProxyConfig.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 DbProxyConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DbProxyConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DbProxyConfig>- Returns:
- a new instance of
DbProxyConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-