Class AppconfigEnvironmentConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.appconfig_environment.AppconfigEnvironmentConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppconfigEnvironmentConfig>
- Enclosing interface:
- AppconfigEnvironmentConfig
@Stability(Stable) public static final class AppconfigEnvironmentConfig.Builder extends Object implements software.amazon.jsii.Builder<AppconfigEnvironmentConfig>
A builder forAppconfigEnvironmentConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppconfigEnvironmentConfig.BuilderapplicationId(String applicationId)Sets the value ofAppconfigEnvironmentConfig.getApplicationId()AppconfigEnvironmentConfigbuild()Builds the configured instance.AppconfigEnvironmentConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()AppconfigEnvironmentConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()AppconfigEnvironmentConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()AppconfigEnvironmentConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()AppconfigEnvironmentConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()AppconfigEnvironmentConfig.Builderdescription(String description)Sets the value ofAppconfigEnvironmentConfig.getDescription()AppconfigEnvironmentConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()AppconfigEnvironmentConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()AppconfigEnvironmentConfig.Buildermonitor(com.hashicorp.cdktf.IResolvable monitor)Sets the value ofAppconfigEnvironmentConfig.getMonitor()AppconfigEnvironmentConfig.Buildermonitor(List<? extends AppconfigEnvironmentMonitor> monitor)Sets the value ofAppconfigEnvironmentConfig.getMonitor()AppconfigEnvironmentConfig.Buildername(String name)Sets the value ofAppconfigEnvironmentConfig.getName()AppconfigEnvironmentConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()AppconfigEnvironmentConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()AppconfigEnvironmentConfig.Buildertags(Map<String,String> tags)Sets the value ofAppconfigEnvironmentConfig.getTags()
-
-
-
Method Detail
-
applicationId
@Stability(Stable) public AppconfigEnvironmentConfig.Builder applicationId(String applicationId)
Sets the value ofAppconfigEnvironmentConfig.getApplicationId()- Parameters:
applicationId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appconfig_environment#application_id AppconfigEnvironment#application_id}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public AppconfigEnvironmentConfig.Builder name(String name)
Sets the value ofAppconfigEnvironmentConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appconfig_environment#name AppconfigEnvironment#name}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public AppconfigEnvironmentConfig.Builder description(String description)
Sets the value ofAppconfigEnvironmentConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appconfig_environment#description AppconfigEnvironment#description}.- Returns:
this
-
monitor
@Stability(Stable) public AppconfigEnvironmentConfig.Builder monitor(com.hashicorp.cdktf.IResolvable monitor)
Sets the value ofAppconfigEnvironmentConfig.getMonitor()- Parameters:
monitor- monitor block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appconfig_environment#monitor AppconfigEnvironment#monitor}- Returns:
this
-
monitor
@Stability(Stable) public AppconfigEnvironmentConfig.Builder monitor(List<? extends AppconfigEnvironmentMonitor> monitor)
Sets the value ofAppconfigEnvironmentConfig.getMonitor()- Parameters:
monitor- monitor block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appconfig_environment#monitor AppconfigEnvironment#monitor}- Returns:
this
-
tags
@Stability(Stable) public AppconfigEnvironmentConfig.Builder tags(Map<String,String> tags)
Sets the value ofAppconfigEnvironmentConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appconfig_environment#tags AppconfigEnvironment#tags}.- Returns:
this
-
connection
@Stability(Experimental) public AppconfigEnvironmentConfig.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 AppconfigEnvironmentConfig.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 AppconfigEnvironmentConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AppconfigEnvironmentConfig.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 AppconfigEnvironmentConfig.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 AppconfigEnvironmentConfig.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 AppconfigEnvironmentConfig.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 AppconfigEnvironmentConfig.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 AppconfigEnvironmentConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AppconfigEnvironmentConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppconfigEnvironmentConfig>- Returns:
- a new instance of
AppconfigEnvironmentConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-