Class DxLagConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.dx_lag.DxLagConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DxLagConfig>
- Enclosing interface:
- DxLagConfig
@Stability(Stable) public static final class DxLagConfig.Builder extends Object implements software.amazon.jsii.Builder<DxLagConfig>
A builder forDxLagConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DxLagConfigbuild()Builds the configured instance.DxLagConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DxLagConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DxLagConfig.BuilderconnectionId(String connectionId)Sets the value ofDxLagConfig.getConnectionId()DxLagConfig.BuilderconnectionsBandwidth(String connectionsBandwidth)Sets the value ofDxLagConfig.getConnectionsBandwidth()DxLagConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DxLagConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DxLagConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DxLagConfig.BuilderforceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)Sets the value ofDxLagConfig.getForceDestroy()DxLagConfig.BuilderforceDestroy(Boolean forceDestroy)Sets the value ofDxLagConfig.getForceDestroy()DxLagConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DxLagConfig.Builderid(String id)Sets the value ofDxLagConfig.getId()DxLagConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DxLagConfig.Builderlocation(String location)Sets the value ofDxLagConfig.getLocation()DxLagConfig.Buildername(String name)Sets the value ofDxLagConfig.getName()DxLagConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DxLagConfig.BuilderproviderName(String providerName)Sets the value ofDxLagConfig.getProviderName()DxLagConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DxLagConfig.Buildertags(Map<String,String> tags)Sets the value ofDxLagConfig.getTags()DxLagConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofDxLagConfig.getTagsAll()
-
-
-
Method Detail
-
connectionsBandwidth
@Stability(Stable) public DxLagConfig.Builder connectionsBandwidth(String connectionsBandwidth)
Sets the value ofDxLagConfig.getConnectionsBandwidth()- Parameters:
connectionsBandwidth- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#connections_bandwidth DxLag#connections_bandwidth}. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public DxLagConfig.Builder location(String location)
Sets the value ofDxLagConfig.getLocation()- Parameters:
location- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#location DxLag#location}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DxLagConfig.Builder name(String name)
Sets the value ofDxLagConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#name DxLag#name}. This parameter is required.- Returns:
this
-
connectionId
@Stability(Stable) public DxLagConfig.Builder connectionId(String connectionId)
Sets the value ofDxLagConfig.getConnectionId()- Parameters:
connectionId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#connection_id DxLag#connection_id}.- Returns:
this
-
forceDestroy
@Stability(Stable) public DxLagConfig.Builder forceDestroy(Boolean forceDestroy)
Sets the value ofDxLagConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#force_destroy DxLag#force_destroy}.- Returns:
this
-
forceDestroy
@Stability(Stable) public DxLagConfig.Builder forceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)
Sets the value ofDxLagConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#force_destroy DxLag#force_destroy}.- Returns:
this
-
id
@Stability(Stable) public DxLagConfig.Builder id(String id)
Sets the value ofDxLagConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#id DxLag#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
-
providerName
@Stability(Stable) public DxLagConfig.Builder providerName(String providerName)
Sets the value ofDxLagConfig.getProviderName()- Parameters:
providerName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#provider_name DxLag#provider_name}.- Returns:
this
-
tags
@Stability(Stable) public DxLagConfig.Builder tags(Map<String,String> tags)
Sets the value ofDxLagConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#tags DxLag#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DxLagConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDxLagConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#tags_all DxLag#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public DxLagConfig.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 DxLagConfig.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 DxLagConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DxLagConfig.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 DxLagConfig.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 DxLagConfig.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 DxLagConfig.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 DxLagConfig.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 DxLagConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DxLagConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DxLagConfig>- Returns:
- a new instance of
DxLagConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-