Class TimestreamwriteTableConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.timestreamwrite_table.TimestreamwriteTableConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<TimestreamwriteTableConfig>
- Enclosing interface:
- TimestreamwriteTableConfig
@Stability(Stable) public static final class TimestreamwriteTableConfig.Builder extends Object implements software.amazon.jsii.Builder<TimestreamwriteTableConfig>
A builder forTimestreamwriteTableConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestreamwriteTableConfigbuild()Builds the configured instance.TimestreamwriteTableConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TimestreamwriteTableConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TimestreamwriteTableConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()TimestreamwriteTableConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()TimestreamwriteTableConfig.BuilderdatabaseName(String databaseName)Sets the value ofTimestreamwriteTableConfig.getDatabaseName()TimestreamwriteTableConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()TimestreamwriteTableConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()TimestreamwriteTableConfig.Builderid(String id)Sets the value ofTimestreamwriteTableConfig.getId()TimestreamwriteTableConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()TimestreamwriteTableConfig.BuildermagneticStoreWriteProperties(TimestreamwriteTableMagneticStoreWriteProperties magneticStoreWriteProperties)Sets the value ofTimestreamwriteTableConfig.getMagneticStoreWriteProperties()TimestreamwriteTableConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()TimestreamwriteTableConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()TimestreamwriteTableConfig.BuilderretentionProperties(TimestreamwriteTableRetentionProperties retentionProperties)Sets the value ofTimestreamwriteTableConfig.getRetentionProperties()TimestreamwriteTableConfig.BuildertableName(String tableName)Sets the value ofTimestreamwriteTableConfig.getTableName()TimestreamwriteTableConfig.Buildertags(Map<String,String> tags)Sets the value ofTimestreamwriteTableConfig.getTags()TimestreamwriteTableConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofTimestreamwriteTableConfig.getTagsAll()
-
-
-
Method Detail
-
databaseName
@Stability(Stable) public TimestreamwriteTableConfig.Builder databaseName(String databaseName)
Sets the value ofTimestreamwriteTableConfig.getDatabaseName()- Parameters:
databaseName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/timestreamwrite_table#database_name TimestreamwriteTable#database_name}. This parameter is required.- Returns:
this
-
tableName
@Stability(Stable) public TimestreamwriteTableConfig.Builder tableName(String tableName)
Sets the value ofTimestreamwriteTableConfig.getTableName()- Parameters:
tableName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/timestreamwrite_table#table_name TimestreamwriteTable#table_name}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public TimestreamwriteTableConfig.Builder id(String id)
Sets the value ofTimestreamwriteTableConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/timestreamwrite_table#id TimestreamwriteTable#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
-
magneticStoreWriteProperties
@Stability(Stable) public TimestreamwriteTableConfig.Builder magneticStoreWriteProperties(TimestreamwriteTableMagneticStoreWriteProperties magneticStoreWriteProperties)
Sets the value ofTimestreamwriteTableConfig.getMagneticStoreWriteProperties()- Parameters:
magneticStoreWriteProperties- magnetic_store_write_properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/timestreamwrite_table#magnetic_store_write_properties TimestreamwriteTable#magnetic_store_write_properties}- Returns:
this
-
retentionProperties
@Stability(Stable) public TimestreamwriteTableConfig.Builder retentionProperties(TimestreamwriteTableRetentionProperties retentionProperties)
Sets the value ofTimestreamwriteTableConfig.getRetentionProperties()- Parameters:
retentionProperties- retention_properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/timestreamwrite_table#retention_properties TimestreamwriteTable#retention_properties}- Returns:
this
-
tags
@Stability(Stable) public TimestreamwriteTableConfig.Builder tags(Map<String,String> tags)
Sets the value ofTimestreamwriteTableConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/timestreamwrite_table#tags TimestreamwriteTable#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public TimestreamwriteTableConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofTimestreamwriteTableConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/timestreamwrite_table#tags_all TimestreamwriteTable#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public TimestreamwriteTableConfig.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 TimestreamwriteTableConfig.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 TimestreamwriteTableConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public TimestreamwriteTableConfig.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 TimestreamwriteTableConfig.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 TimestreamwriteTableConfig.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 TimestreamwriteTableConfig.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 TimestreamwriteTableConfig.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 TimestreamwriteTableConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public TimestreamwriteTableConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TimestreamwriteTableConfig>- Returns:
- a new instance of
TimestreamwriteTableConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-