Class DbProxyConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • auth

        @Stability(Stable)
        public DbProxyConfig.Builder auth​(com.hashicorp.cdktf.IResolvable auth)
        Sets the value of DbProxyConfig.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 of DbProxyConfig.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)
        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 of DbProxyConfig.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 of DbProxyConfig.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)
        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)
        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)
        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 of DbProxyConfig.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)
        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)
        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)
        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 of DbProxyConfig.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 of DbProxyConfig.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 of DbProxyConfig.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)
        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 of TerraformMetaArguments.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 of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DbProxyConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DbProxyConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this