Class DataGoogleComputeRouterStatusConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_compute_router_status.DataGoogleComputeRouterStatusConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleComputeRouterStatusConfig>
- Enclosing interface:
- DataGoogleComputeRouterStatusConfig
@Stability(Stable) public static final class DataGoogleComputeRouterStatusConfig.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleComputeRouterStatusConfig>
A builder forDataGoogleComputeRouterStatusConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleComputeRouterStatusConfigbuild()Builds the configured instance.DataGoogleComputeRouterStatusConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataGoogleComputeRouterStatusConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataGoogleComputeRouterStatusConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataGoogleComputeRouterStatusConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataGoogleComputeRouterStatusConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataGoogleComputeRouterStatusConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataGoogleComputeRouterStatusConfig.Builderid(String id)Sets the value ofDataGoogleComputeRouterStatusConfig.getId()DataGoogleComputeRouterStatusConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataGoogleComputeRouterStatusConfig.Buildername(String name)Sets the value ofDataGoogleComputeRouterStatusConfig.getName()DataGoogleComputeRouterStatusConfig.Builderproject(String project)Sets the value ofDataGoogleComputeRouterStatusConfig.getProject()DataGoogleComputeRouterStatusConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataGoogleComputeRouterStatusConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataGoogleComputeRouterStatusConfig.Builderregion(String region)Sets the value ofDataGoogleComputeRouterStatusConfig.getRegion()
-
-
-
Method Detail
-
name
@Stability(Stable) public DataGoogleComputeRouterStatusConfig.Builder name(String name)
Sets the value ofDataGoogleComputeRouterStatusConfig.getName()- Parameters:
name- Name of the router to query. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_router_status#name DataGoogleComputeRouterStatus#name}- Returns:
this
-
id
@Stability(Stable) public DataGoogleComputeRouterStatusConfig.Builder id(String id)
Sets the value ofDataGoogleComputeRouterStatusConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_router_status#id DataGoogleComputeRouterStatus#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
-
project
@Stability(Stable) public DataGoogleComputeRouterStatusConfig.Builder project(String project)
Sets the value ofDataGoogleComputeRouterStatusConfig.getProject()- Parameters:
project- Project ID of the target router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_router_status#project DataGoogleComputeRouterStatus#project}- Returns:
this
-
region
@Stability(Stable) public DataGoogleComputeRouterStatusConfig.Builder region(String region)
Sets the value ofDataGoogleComputeRouterStatusConfig.getRegion()- Parameters:
region- Region of the target router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_router_status#region DataGoogleComputeRouterStatus#region}- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleComputeRouterStatusConfig.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 DataGoogleComputeRouterStatusConfig.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 DataGoogleComputeRouterStatusConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleComputeRouterStatusConfig.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 DataGoogleComputeRouterStatusConfig.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 DataGoogleComputeRouterStatusConfig.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 DataGoogleComputeRouterStatusConfig.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 DataGoogleComputeRouterStatusConfig.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 DataGoogleComputeRouterStatusConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataGoogleComputeRouterStatusConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleComputeRouterStatusConfig>- Returns:
- a new instance of
DataGoogleComputeRouterStatusConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-