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