Class BigtableTableConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigtable_table.BigtableTableConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigtableTableConfig>
- Enclosing interface:
- BigtableTableConfig
@Stability(Stable) public static final class BigtableTableConfig.Builder extends Object implements software.amazon.jsii.Builder<BigtableTableConfig>
A builder forBigtableTableConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigtableTableConfig.BuilderautomatedBackupPolicy(BigtableTableAutomatedBackupPolicy automatedBackupPolicy)Sets the value ofBigtableTableConfig.getAutomatedBackupPolicy()BigtableTableConfigbuild()Builds the configured instance.BigtableTableConfig.BuilderchangeStreamRetention(String changeStreamRetention)Sets the value ofBigtableTableConfig.getChangeStreamRetention()BigtableTableConfig.BuildercolumnFamily(com.hashicorp.cdktf.IResolvable columnFamily)Sets the value ofBigtableTableConfig.getColumnFamily()BigtableTableConfig.BuildercolumnFamily(List<? extends BigtableTableColumnFamily> columnFamily)Sets the value ofBigtableTableConfig.getColumnFamily()BigtableTableConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BigtableTableConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BigtableTableConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()BigtableTableConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()BigtableTableConfig.BuilderdeletionProtection(String deletionProtection)Sets the value ofBigtableTableConfig.getDeletionProtection()BigtableTableConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()BigtableTableConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()BigtableTableConfig.Builderid(String id)Sets the value ofBigtableTableConfig.getId()BigtableTableConfig.BuilderinstanceName(String instanceName)Sets the value ofBigtableTableConfig.getInstanceName()BigtableTableConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()BigtableTableConfig.Buildername(String name)Sets the value ofBigtableTableConfig.getName()BigtableTableConfig.Builderproject(String project)Sets the value ofBigtableTableConfig.getProject()BigtableTableConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()BigtableTableConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()BigtableTableConfig.BuildersplitKeys(List<String> splitKeys)Sets the value ofBigtableTableConfig.getSplitKeys()BigtableTableConfig.Buildertimeouts(BigtableTableTimeouts timeouts)Sets the value ofBigtableTableConfig.getTimeouts()
-
-
-
Method Detail
-
instanceName
@Stability(Stable) public BigtableTableConfig.Builder instanceName(String instanceName)
Sets the value ofBigtableTableConfig.getInstanceName()- 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)
Sets the value ofBigtableTableConfig.getName()- 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
-
automatedBackupPolicy
@Stability(Stable) public BigtableTableConfig.Builder automatedBackupPolicy(BigtableTableAutomatedBackupPolicy automatedBackupPolicy)
Sets the value ofBigtableTableConfig.getAutomatedBackupPolicy()- Parameters:
automatedBackupPolicy- automated_backup_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#automated_backup_policy BigtableTable#automated_backup_policy}- Returns:
this
-
changeStreamRetention
@Stability(Stable) public BigtableTableConfig.Builder changeStreamRetention(String changeStreamRetention)
Sets the value ofBigtableTableConfig.getChangeStreamRetention()- 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)
Sets the value ofBigtableTableConfig.getColumnFamily()- 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
-
columnFamily
@Stability(Stable) public BigtableTableConfig.Builder columnFamily(List<? extends BigtableTableColumnFamily> columnFamily)
Sets the value ofBigtableTableConfig.getColumnFamily()- 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)
Sets the value ofBigtableTableConfig.getDeletionProtection()- 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 ofBigtableTableConfig.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)
Sets the value ofBigtableTableConfig.getProject()- 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)
Sets the value ofBigtableTableConfig.getSplitKeys()- 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
-
timeouts
@Stability(Stable) public BigtableTableConfig.Builder timeouts(BigtableTableTimeouts timeouts)
Sets the value ofBigtableTableConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#timeouts BigtableTable#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BigtableTableConfig.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 BigtableTableConfig.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 BigtableTableConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public BigtableTableConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BigtableTableConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigtableTableConfig>- Returns:
- a new instance of
BigtableTableConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-