Class NetworkConnectivityPolicyBasedRoute.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public NetworkConnectivityPolicyBasedRoute.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public NetworkConnectivityPolicyBasedRoute.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public NetworkConnectivityPolicyBasedRoute.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public NetworkConnectivityPolicyBasedRoute.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • filter

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder filter​(NetworkConnectivityPolicyBasedRouteFilter filter)
        filter block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#filter NetworkConnectivityPolicyBasedRoute#filter}

        Parameters:
        filter - filter block. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder name​(String name)
        The name of the policy based route.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#name NetworkConnectivityPolicyBasedRoute#name}

        Parameters:
        name - The name of the policy based route. This parameter is required.
        Returns:
        this
      • network

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder network​(String network)
        Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#network NetworkConnectivityPolicyBasedRoute#network}

        Parameters:
        network - Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder description​(String description)
        An optional description of this resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#description NetworkConnectivityPolicyBasedRoute#description}

        Parameters:
        description - An optional description of this resource. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#id NetworkConnectivityPolicyBasedRoute#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_connectivity_policy_based_route#id NetworkConnectivityPolicyBasedRoute#id}. This parameter is required.
        Returns:
        this
      • interconnectAttachment

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder interconnectAttachment​(NetworkConnectivityPolicyBasedRouteInterconnectAttachment interconnectAttachment)
        interconnect_attachment block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#interconnect_attachment NetworkConnectivityPolicyBasedRoute#interconnect_attachment}

        Parameters:
        interconnectAttachment - interconnect_attachment block. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder labels​(Map<String,​String> labels)
        User-defined labels.

        **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_connectivity_policy_based_route#labels NetworkConnectivityPolicyBasedRoute#labels}

        Parameters:
        labels - User-defined labels. This parameter is required.
        Returns:
        this
      • nextHopIlbIp

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder nextHopIlbIp​(String nextHopIlbIp)
        The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#next_hop_ilb_ip NetworkConnectivityPolicyBasedRoute#next_hop_ilb_ip}

        Parameters:
        nextHopIlbIp - The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. This parameter is required.
        Returns:
        this
      • nextHopOtherRoutes

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder nextHopOtherRoutes​(String nextHopOtherRoutes)
        Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#next_hop_other_routes NetworkConnectivityPolicyBasedRoute#next_hop_other_routes}

        Parameters:
        nextHopOtherRoutes - Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"]. This parameter is required.
        Returns:
        this
      • priority

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder priority​(Number priority)
        The priority of this policy-based route.

        Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#priority NetworkConnectivityPolicyBasedRoute#priority}

        Parameters:
        priority - The priority of this policy-based route. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#project NetworkConnectivityPolicyBasedRoute#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#project NetworkConnectivityPolicyBasedRoute#project}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder timeouts​(NetworkConnectivityPolicyBasedRouteTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#timeouts NetworkConnectivityPolicyBasedRoute#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this
      • virtualMachine

        @Stability(Stable)
        public NetworkConnectivityPolicyBasedRoute.Builder virtualMachine​(NetworkConnectivityPolicyBasedRouteVirtualMachine virtualMachine)
        virtual_machine block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_policy_based_route#virtual_machine NetworkConnectivityPolicyBasedRoute#virtual_machine}

        Parameters:
        virtualMachine - virtual_machine block. This parameter is required.
        Returns:
        this