Class DataAwsAppmeshGatewayRouteConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.data_aws_appmesh_gateway_route.DataAwsAppmeshGatewayRouteConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataAwsAppmeshGatewayRouteConfig>
- Enclosing interface:
- DataAwsAppmeshGatewayRouteConfig
@Stability(Stable) public static final class DataAwsAppmeshGatewayRouteConfig.Builder extends Object implements software.amazon.jsii.Builder<DataAwsAppmeshGatewayRouteConfig>
A builder forDataAwsAppmeshGatewayRouteConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAwsAppmeshGatewayRouteConfigbuild()Builds the configured instance.DataAwsAppmeshGatewayRouteConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsAppmeshGatewayRouteConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsAppmeshGatewayRouteConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataAwsAppmeshGatewayRouteConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataAwsAppmeshGatewayRouteConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataAwsAppmeshGatewayRouteConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataAwsAppmeshGatewayRouteConfig.Builderid(String id)Sets the value ofDataAwsAppmeshGatewayRouteConfig.getId()DataAwsAppmeshGatewayRouteConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataAwsAppmeshGatewayRouteConfig.BuildermeshName(String meshName)Sets the value ofDataAwsAppmeshGatewayRouteConfig.getMeshName()DataAwsAppmeshGatewayRouteConfig.BuildermeshOwner(String meshOwner)Sets the value ofDataAwsAppmeshGatewayRouteConfig.getMeshOwner()DataAwsAppmeshGatewayRouteConfig.Buildername(String name)Sets the value ofDataAwsAppmeshGatewayRouteConfig.getName()DataAwsAppmeshGatewayRouteConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataAwsAppmeshGatewayRouteConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataAwsAppmeshGatewayRouteConfig.Buildertags(Map<String,String> tags)Sets the value ofDataAwsAppmeshGatewayRouteConfig.getTags()DataAwsAppmeshGatewayRouteConfig.BuildervirtualGatewayName(String virtualGatewayName)Sets the value ofDataAwsAppmeshGatewayRouteConfig.getVirtualGatewayName()
-
-
-
Method Detail
-
meshName
@Stability(Stable) public DataAwsAppmeshGatewayRouteConfig.Builder meshName(String meshName)
Sets the value ofDataAwsAppmeshGatewayRouteConfig.getMeshName()- Parameters:
meshName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/appmesh_gateway_route#mesh_name DataAwsAppmeshGatewayRoute#mesh_name}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DataAwsAppmeshGatewayRouteConfig.Builder name(String name)
Sets the value ofDataAwsAppmeshGatewayRouteConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/appmesh_gateway_route#name DataAwsAppmeshGatewayRoute#name}. This parameter is required.- Returns:
this
-
virtualGatewayName
@Stability(Stable) public DataAwsAppmeshGatewayRouteConfig.Builder virtualGatewayName(String virtualGatewayName)
Sets the value ofDataAwsAppmeshGatewayRouteConfig.getVirtualGatewayName()- Parameters:
virtualGatewayName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/appmesh_gateway_route#virtual_gateway_name DataAwsAppmeshGatewayRoute#virtual_gateway_name}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataAwsAppmeshGatewayRouteConfig.Builder id(String id)
Sets the value ofDataAwsAppmeshGatewayRouteConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/appmesh_gateway_route#id DataAwsAppmeshGatewayRoute#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
-
meshOwner
@Stability(Stable) public DataAwsAppmeshGatewayRouteConfig.Builder meshOwner(String meshOwner)
Sets the value ofDataAwsAppmeshGatewayRouteConfig.getMeshOwner()- Parameters:
meshOwner- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/appmesh_gateway_route#mesh_owner DataAwsAppmeshGatewayRoute#mesh_owner}.- Returns:
this
-
tags
@Stability(Stable) public DataAwsAppmeshGatewayRouteConfig.Builder tags(Map<String,String> tags)
Sets the value ofDataAwsAppmeshGatewayRouteConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/appmesh_gateway_route#tags DataAwsAppmeshGatewayRoute#tags}.- Returns:
this
-
connection
@Stability(Experimental) public DataAwsAppmeshGatewayRouteConfig.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 DataAwsAppmeshGatewayRouteConfig.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 DataAwsAppmeshGatewayRouteConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataAwsAppmeshGatewayRouteConfig.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 DataAwsAppmeshGatewayRouteConfig.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 DataAwsAppmeshGatewayRouteConfig.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 DataAwsAppmeshGatewayRouteConfig.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 DataAwsAppmeshGatewayRouteConfig.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 DataAwsAppmeshGatewayRouteConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataAwsAppmeshGatewayRouteConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataAwsAppmeshGatewayRouteConfig>- Returns:
- a new instance of
DataAwsAppmeshGatewayRouteConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-