Class ServiceNetworkingConnection.Builder

    • Method Detail

      • connection

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

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

        @Stability(Experimental)
        public ServiceNetworkingConnection.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

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

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

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

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

        @Stability(Stable)
        public ServiceNetworkingConnection.Builder network​(String network)
        Name of VPC network connected with service producers using VPC peering.

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

        Parameters:
        network - Name of VPC network connected with service producers using VPC peering. This parameter is required.
        Returns:
        this
      • reservedPeeringRanges

        @Stability(Stable)
        public ServiceNetworkingConnection.Builder reservedPeeringRanges​(List<String> reservedPeeringRanges)
        Named IP address range(s) of PEERING type reserved for this service provider.

        Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#reserved_peering_ranges ServiceNetworkingConnection#reserved_peering_ranges}

        Parameters:
        reservedPeeringRanges - Named IP address range(s) of PEERING type reserved for this service provider. This parameter is required.
        Returns:
        this
      • service

        @Stability(Stable)
        public ServiceNetworkingConnection.Builder service​(String service)
        Provider peering service that is managing peering connectivity for a service provider organization.

        For Google services that support this functionality it is 'servicenetworking.googleapis.com'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#service ServiceNetworkingConnection#service}

        Parameters:
        service - Provider peering service that is managing peering connectivity for a service provider organization. This parameter is required.
        Returns:
        this
      • deletionPolicy

        @Stability(Stable)
        public ServiceNetworkingConnection.Builder deletionPolicy​(String deletionPolicy)
        When set to ABANDON, terraform will abandon management of the resource instead of deleting it.

        Prevents terraform apply failures with CloudSQL. Note: The resource will still exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#deletion_policy ServiceNetworkingConnection#deletion_policy}

        Parameters:
        deletionPolicy - When set to ABANDON, terraform will abandon management of the resource instead of deleting it. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public ServiceNetworkingConnection.Builder timeouts​(ServiceNetworkingConnectionTimeouts timeouts)
        timeouts block.

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

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

        @Stability(Stable)
        public ServiceNetworkingConnection.Builder updateOnCreationFail​(Boolean updateOnCreationFail)
        When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#update_on_creation_fail ServiceNetworkingConnection#update_on_creation_fail}

        Parameters:
        updateOnCreationFail - When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure. This parameter is required.
        Returns:
        this
      • updateOnCreationFail

        @Stability(Stable)
        public ServiceNetworkingConnection.Builder updateOnCreationFail​(com.hashicorp.cdktf.IResolvable updateOnCreationFail)
        When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#update_on_creation_fail ServiceNetworkingConnection#update_on_creation_fail}

        Parameters:
        updateOnCreationFail - When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure. This parameter is required.
        Returns:
        this