Class NetworkConnectivityRegionalEndpoint.Builder

    • Method Detail

      • connection

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

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

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

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

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder accessType​(String accessType)
        The access type of this regional endpoint.

        This field is reflected in the PSC Forwarding Rule configuration to enable global access. Possible values: ["GLOBAL", "REGIONAL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_regional_endpoint#access_type NetworkConnectivityRegionalEndpoint#access_type}

        Parameters:
        accessType - The access type of this regional endpoint. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder location​(String location)
        The location of the RegionalEndpoint.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_regional_endpoint#location NetworkConnectivityRegionalEndpoint#location}

        Parameters:
        location - The location of the RegionalEndpoint. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder name​(String name)
        The name of the RegionalEndpoint.

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

        Parameters:
        name - The name of the RegionalEndpoint. This parameter is required.
        Returns:
        this
      • targetGoogleApi

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder targetGoogleApi​(String targetGoogleApi)
        The service endpoint this private regional endpoint connects to. Format: '{apiname}.{region}.p.rep.googleapis.com' Example: "cloudkms.us-central1.p.rep.googleapis.com".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_regional_endpoint#target_google_api NetworkConnectivityRegionalEndpoint#target_google_api}

        Parameters:
        targetGoogleApi - The service endpoint this private regional endpoint connects to. Format: '{apiname}.{region}.p.rep.googleapis.com' Example: "cloudkms.us-central1.p.rep.googleapis.com". This parameter is required.
        Returns:
        this
      • address

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder address​(String address)
        The IP Address of the Regional Endpoint.

        When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in '10.0.0.1' * Address resource URI as in 'projects/{project}/regions/{region}/addresses/{address_name}' ~> **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_regional_endpoint#address NetworkConnectivityRegionalEndpoint#address}

        Parameters:
        address - The IP Address of the Regional Endpoint. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder description​(String description)
        A description of this resource.

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

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

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

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

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

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder network​(String network)
        The name of the VPC network for this private regional endpoint. Format: 'projects/{project}/global/networks/{network}'.

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

        Parameters:
        network - The name of the VPC network for this private regional endpoint. Format: 'projects/{project}/global/networks/{network}'. This parameter is required.
        Returns:
        this
      • project

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

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

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder subnetwork​(String subnetwork)
        The name of the subnetwork from which the IP address will be allocated. Format: 'projects/{project}/regions/{region}/subnetworks/{subnetwork}'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_regional_endpoint#subnetwork NetworkConnectivityRegionalEndpoint#subnetwork}

        Parameters:
        subnetwork - The name of the subnetwork from which the IP address will be allocated. Format: 'projects/{project}/regions/{region}/subnetworks/{subnetwork}'. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public NetworkConnectivityRegionalEndpoint.Builder timeouts​(NetworkConnectivityRegionalEndpointTimeouts timeouts)
        timeouts block.

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

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