Class NetworkManagementConnectivityTest.Builder

    • Method Detail

      • 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
      • 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
      • 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