Class ServiceNetworkingVpcServiceControls.Builder

    • Method Detail

      • connection

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

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

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

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

        @Stability(Stable)
        public ServiceNetworkingVpcServiceControls.Builder enabled​(Boolean enabled)
        Desired VPC Service Controls state service producer VPC network, as described at the top of this page.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#enabled ServiceNetworkingVpcServiceControls#enabled}

        Parameters:
        enabled - Desired VPC Service Controls state service producer VPC network, as described at the top of this page. This parameter is required.
        Returns:
        this
      • enabled

        @Stability(Stable)
        public ServiceNetworkingVpcServiceControls.Builder enabled​(com.hashicorp.cdktf.IResolvable enabled)
        Desired VPC Service Controls state service producer VPC network, as described at the top of this page.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#enabled ServiceNetworkingVpcServiceControls#enabled}

        Parameters:
        enabled - Desired VPC Service Controls state service producer VPC network, as described at the top of this page. This parameter is required.
        Returns:
        this
      • network

        @Stability(Stable)
        public ServiceNetworkingVpcServiceControls.Builder network​(String network)
        The network that the consumer is using to connect with services.

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

        Parameters:
        network - The network that the consumer is using to connect with services. This parameter is required.
        Returns:
        this
      • service

        @Stability(Stable)
        public ServiceNetworkingVpcServiceControls.Builder service​(String service)
        The service that is managing peering connectivity for a service producer's organization.

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

        Parameters:
        service - The service that is managing peering connectivity for a service producer's organization. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public ServiceNetworkingVpcServiceControls.Builder project​(String project)
        The id of the Google Cloud project containing the consumer network.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#project ServiceNetworkingVpcServiceControls#project}

        Parameters:
        project - The id of the Google Cloud project containing the consumer network. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public ServiceNetworkingVpcServiceControls.Builder timeouts​(ServiceNetworkingVpcServiceControlsTimeouts timeouts)
        timeouts block.

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

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