Class NetworkManagementConnectivityTest.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_management_connectivity_test.NetworkManagementConnectivityTest.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkManagementConnectivityTest>
- Enclosing class:
- NetworkManagementConnectivityTest
@Stability(Stable) public static final class NetworkManagementConnectivityTest.Builder extends Object implements software.amazon.jsii.Builder<NetworkManagementConnectivityTest>
A fluent builder forNetworkManagementConnectivityTest.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkManagementConnectivityTestbuild()NetworkManagementConnectivityTest.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)NetworkManagementConnectivityTest.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)NetworkManagementConnectivityTest.Buildercount(com.hashicorp.cdktf.TerraformCount count)NetworkManagementConnectivityTest.Buildercount(Number count)static NetworkManagementConnectivityTest.Buildercreate(software.constructs.Construct scope, String id)NetworkManagementConnectivityTest.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)NetworkManagementConnectivityTest.Builderdescription(String description)The user-supplied description of the Connectivity Test.NetworkManagementConnectivityTest.Builderdestination(NetworkManagementConnectivityTestDestination destination)destination block.NetworkManagementConnectivityTest.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)NetworkManagementConnectivityTest.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#id NetworkManagementConnectivityTest#id}.NetworkManagementConnectivityTest.Builderlabels(Map<String,String> labels)Resource labels to represent user-provided metadata.NetworkManagementConnectivityTest.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)NetworkManagementConnectivityTest.Buildername(String name)Unique name for the connectivity test.NetworkManagementConnectivityTest.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#project NetworkManagementConnectivityTest#project}.NetworkManagementConnectivityTest.Builderprotocol(String protocol)IP Protocol of the test.NetworkManagementConnectivityTest.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)NetworkManagementConnectivityTest.Builderprovisioners(List<? extends Object> provisioners)NetworkManagementConnectivityTest.BuilderrelatedProjects(List<String> relatedProjects)Other projects that may be relevant for reachability analysis.NetworkManagementConnectivityTest.Buildersource(NetworkManagementConnectivityTestSource source)source block.NetworkManagementConnectivityTest.Buildertimeouts(NetworkManagementConnectivityTestTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static NetworkManagementConnectivityTest.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
NetworkManagementConnectivityTest.Builder.
-
connection
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkManagementConnectivityTest.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
destination
@Stability(Stable) public NetworkManagementConnectivityTest.Builder destination(NetworkManagementConnectivityTestDestination destination)
destination block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#destination NetworkManagementConnectivityTest#destination}
- Parameters:
destination- destination block. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public NetworkManagementConnectivityTest.Builder name(String name)
Unique name for the connectivity test.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#name NetworkManagementConnectivityTest#name}
- Parameters:
name- Unique name for the connectivity test. This parameter is required.- Returns:
this
-
source
@Stability(Stable) public NetworkManagementConnectivityTest.Builder source(NetworkManagementConnectivityTestSource source)
source block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#source NetworkManagementConnectivityTest#source}
- Parameters:
source- source block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public NetworkManagementConnectivityTest.Builder description(String description)
The user-supplied description of the Connectivity Test. Maximum of 512 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#description NetworkManagementConnectivityTest#description}
- Parameters:
description- The user-supplied description of the Connectivity Test. Maximum of 512 characters. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public NetworkManagementConnectivityTest.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#id NetworkManagementConnectivityTest#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#id NetworkManagementConnectivityTest#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public NetworkManagementConnectivityTest.Builder labels(Map<String,String> labels)
Resource labels to represent user-provided metadata.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#labels NetworkManagementConnectivityTest#labels}
- Parameters:
labels- Resource labels to represent user-provided metadata. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public NetworkManagementConnectivityTest.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#project NetworkManagementConnectivityTest#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#project NetworkManagementConnectivityTest#project}. This parameter is required.- Returns:
this
-
protocol
@Stability(Stable) public NetworkManagementConnectivityTest.Builder protocol(String protocol)
IP Protocol of the test. When not provided, "TCP" is assumed.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#protocol NetworkManagementConnectivityTest#protocol}
- Parameters:
protocol- IP Protocol of the test. When not provided, "TCP" is assumed. This parameter is required.- Returns:
this
-
relatedProjects
@Stability(Stable) public NetworkManagementConnectivityTest.Builder relatedProjects(List<String> relatedProjects)
Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#related_projects NetworkManagementConnectivityTest#related_projects}
- Parameters:
relatedProjects- Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public NetworkManagementConnectivityTest.Builder timeouts(NetworkManagementConnectivityTestTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_management_connectivity_test#timeouts NetworkManagementConnectivityTest#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public NetworkManagementConnectivityTest build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkManagementConnectivityTest>- Returns:
- a newly built instance of
NetworkManagementConnectivityTest.
-
-