Class NetworkConnectivityInternalRange.Builder

    • Method Detail

      • connection

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

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

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

        @Stability(Experimental)
        public NetworkConnectivityInternalRange.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

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

        @Stability(Experimental)
        public NetworkConnectivityInternalRange.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NetworkConnectivityInternalRange.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_internal_range#name NetworkConnectivityInternalRange#name}

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

        @Stability(Stable)
        public NetworkConnectivityInternalRange.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_internal_range#network NetworkConnectivityInternalRange#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
      • peering

        @Stability(Stable)
        public NetworkConnectivityInternalRange.Builder peering​(String peering)
        The type of peering set for this internal range. Possible values: ["FOR_SELF", "FOR_PEER", "NOT_SHARED"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_internal_range#peering NetworkConnectivityInternalRange#peering}

        Parameters:
        peering - The type of peering set for this internal range. Possible values: ["FOR_SELF", "FOR_PEER", "NOT_SHARED"]. This parameter is required.
        Returns:
        this
      • usage

        @Stability(Stable)
        public NetworkConnectivityInternalRange.Builder usage​(String usage)
        The type of usage set for this InternalRange. Possible values: ["FOR_VPC", "EXTERNAL_TO_VPC"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_internal_range#usage NetworkConnectivityInternalRange#usage}

        Parameters:
        usage - The type of usage set for this InternalRange. Possible values: ["FOR_VPC", "EXTERNAL_TO_VPC"]. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkConnectivityInternalRange.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_internal_range#description NetworkConnectivityInternalRange#description}

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

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

        @Stability(Stable)
        public NetworkConnectivityInternalRange.Builder ipCidrRange​(String ipCidrRange)
        The IP range that this internal range defines.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_internal_range#ip_cidr_range NetworkConnectivityInternalRange#ip_cidr_range}

        Parameters:
        ipCidrRange - The IP range that this internal range defines. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public NetworkConnectivityInternalRange.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_internal_range#labels NetworkConnectivityInternalRange#labels}

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

        @Stability(Stable)
        public NetworkConnectivityInternalRange.Builder overlaps​(List<String> overlaps)
        Optional. Types of resources that are allowed to overlap with the current internal range. Possible values: ["OVERLAP_ROUTE_RANGE", "OVERLAP_EXISTING_SUBNET_RANGE"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_internal_range#overlaps NetworkConnectivityInternalRange#overlaps}

        Parameters:
        overlaps - Optional. Types of resources that are allowed to overlap with the current internal range. Possible values: ["OVERLAP_ROUTE_RANGE", "OVERLAP_EXISTING_SUBNET_RANGE"]. This parameter is required.
        Returns:
        this
      • prefixLength

        @Stability(Stable)
        public NetworkConnectivityInternalRange.Builder prefixLength​(Number prefixLength)
        An alternate to ipCidrRange.

        Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_internal_range#prefix_length NetworkConnectivityInternalRange#prefix_length}

        Parameters:
        prefixLength - An alternate to ipCidrRange. This parameter is required.
        Returns:
        this
      • project

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

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

        @Stability(Stable)
        public NetworkConnectivityInternalRange.Builder targetCidrRange​(List<String> targetCidrRange)
        Optional.

        Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_internal_range#target_cidr_range NetworkConnectivityInternalRange#target_cidr_range}

        Parameters:
        targetCidrRange - Optional. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public NetworkConnectivityInternalRange.Builder timeouts​(NetworkConnectivityInternalRangeTimeouts timeouts)
        timeouts block.

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

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