Class BigtableTableConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • instanceName

        @Stability(Stable)
        public BigtableTableConfig.Builder instanceName​(String instanceName)
        Parameters:
        instanceName - The name of the Bigtable instance. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#instance_name BigtableTable#instance_name}
        Returns:
        this
      • name

        @Stability(Stable)
        public BigtableTableConfig.Builder name​(String name)
        Parameters:
        name - The name of the table. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#name BigtableTable#name}
        Returns:
        this
      • changeStreamRetention

        @Stability(Stable)
        public BigtableTableConfig.Builder changeStreamRetention​(String changeStreamRetention)
        Parameters:
        changeStreamRetention - Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#change_stream_retention BigtableTable#change_stream_retention}
        Returns:
        this
      • columnFamily

        @Stability(Stable)
        public BigtableTableConfig.Builder columnFamily​(com.hashicorp.cdktf.IResolvable columnFamily)
        Parameters:
        columnFamily - column_family block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#column_family BigtableTable#column_family}
        Returns:
        this
      • deletionProtection

        @Stability(Stable)
        public BigtableTableConfig.Builder deletionProtection​(String deletionProtection)
        Parameters:
        deletionProtection - A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, currently deletion protection will be set to UNPROTECTED as it is the API default value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#deletion_protection BigtableTable#deletion_protection}
        Returns:
        this
      • id

        @Stability(Stable)
        public BigtableTableConfig.Builder id​(String id)
        Sets the value of BigtableTableConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#id BigtableTable#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
      • project

        @Stability(Stable)
        public BigtableTableConfig.Builder project​(String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#project BigtableTable#project}
        Returns:
        this
      • splitKeys

        @Stability(Stable)
        public BigtableTableConfig.Builder splitKeys​(List<String> splitKeys)
        Parameters:
        splitKeys - A list of predefined keys to split the table on. !> Warning: Modifying the split_keys of an existing table will cause Terraform to delete/recreate the entire google_bigtable_table resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#split_keys BigtableTable#split_keys}
        Returns:
        this
      • connection

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

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