Class DbProxyEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.db_proxy_endpoint.DbProxyEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DbProxyEndpointConfig>
- Enclosing interface:
- DbProxyEndpointConfig
@Stability(Stable) public static final class DbProxyEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<DbProxyEndpointConfig>
A builder forDbProxyEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbProxyEndpointConfigbuild()Builds the configured instance.DbProxyEndpointConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DbProxyEndpointConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DbProxyEndpointConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DbProxyEndpointConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DbProxyEndpointConfig.BuilderdbProxyEndpointName(String dbProxyEndpointName)Sets the value ofDbProxyEndpointConfig.getDbProxyEndpointName()DbProxyEndpointConfig.BuilderdbProxyName(String dbProxyName)Sets the value ofDbProxyEndpointConfig.getDbProxyName()DbProxyEndpointConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DbProxyEndpointConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DbProxyEndpointConfig.Builderid(String id)Sets the value ofDbProxyEndpointConfig.getId()DbProxyEndpointConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DbProxyEndpointConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DbProxyEndpointConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DbProxyEndpointConfig.Buildertags(Map<String,String> tags)Sets the value ofDbProxyEndpointConfig.getTags()DbProxyEndpointConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofDbProxyEndpointConfig.getTagsAll()DbProxyEndpointConfig.BuildertargetRole(String targetRole)Sets the value ofDbProxyEndpointConfig.getTargetRole()DbProxyEndpointConfig.Buildertimeouts(DbProxyEndpointTimeouts timeouts)Sets the value ofDbProxyEndpointConfig.getTimeouts()DbProxyEndpointConfig.BuildervpcSecurityGroupIds(List<String> vpcSecurityGroupIds)Sets the value ofDbProxyEndpointConfig.getVpcSecurityGroupIds()DbProxyEndpointConfig.BuildervpcSubnetIds(List<String> vpcSubnetIds)Sets the value ofDbProxyEndpointConfig.getVpcSubnetIds()
-
-
-
Method Detail
-
dbProxyEndpointName
@Stability(Stable) public DbProxyEndpointConfig.Builder dbProxyEndpointName(String dbProxyEndpointName)
Sets the value ofDbProxyEndpointConfig.getDbProxyEndpointName()- Parameters:
dbProxyEndpointName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#db_proxy_endpoint_name DbProxyEndpoint#db_proxy_endpoint_name}. This parameter is required.- Returns:
this
-
dbProxyName
@Stability(Stable) public DbProxyEndpointConfig.Builder dbProxyName(String dbProxyName)
Sets the value ofDbProxyEndpointConfig.getDbProxyName()- Parameters:
dbProxyName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#db_proxy_name DbProxyEndpoint#db_proxy_name}. This parameter is required.- Returns:
this
-
vpcSubnetIds
@Stability(Stable) public DbProxyEndpointConfig.Builder vpcSubnetIds(List<String> vpcSubnetIds)
Sets the value ofDbProxyEndpointConfig.getVpcSubnetIds()- Parameters:
vpcSubnetIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#vpc_subnet_ids DbProxyEndpoint#vpc_subnet_ids}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DbProxyEndpointConfig.Builder id(String id)
Sets the value ofDbProxyEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#id DbProxyEndpoint#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
-
tags
@Stability(Stable) public DbProxyEndpointConfig.Builder tags(Map<String,String> tags)
Sets the value ofDbProxyEndpointConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#tags DbProxyEndpoint#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DbProxyEndpointConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDbProxyEndpointConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#tags_all DbProxyEndpoint#tags_all}.- Returns:
this
-
targetRole
@Stability(Stable) public DbProxyEndpointConfig.Builder targetRole(String targetRole)
Sets the value ofDbProxyEndpointConfig.getTargetRole()- Parameters:
targetRole- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#target_role DbProxyEndpoint#target_role}.- Returns:
this
-
timeouts
@Stability(Stable) public DbProxyEndpointConfig.Builder timeouts(DbProxyEndpointTimeouts timeouts)
Sets the value ofDbProxyEndpointConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#timeouts DbProxyEndpoint#timeouts}- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public DbProxyEndpointConfig.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
Sets the value ofDbProxyEndpointConfig.getVpcSecurityGroupIds()- Parameters:
vpcSecurityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_proxy_endpoint#vpc_security_group_ids DbProxyEndpoint#vpc_security_group_ids}.- Returns:
this
-
connection
@Stability(Experimental) public DbProxyEndpointConfig.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 DbProxyEndpointConfig.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 DbProxyEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DbProxyEndpointConfig.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 DbProxyEndpointConfig.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 DbProxyEndpointConfig.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 DbProxyEndpointConfig.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 DbProxyEndpointConfig.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 DbProxyEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DbProxyEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DbProxyEndpointConfig>- Returns:
- a new instance of
DbProxyEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-