Class ProjectService.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static ProjectService.Builder create​(software.constructs.Construct scope,
                                                    String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of ProjectService.Builder.
      • connection

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

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

        @Stability(Experimental)
        public ProjectService.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

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

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

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

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

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

        @Stability(Experimental)
        public ProjectService.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • service

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

        Parameters:
        service - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#service ProjectService#service}. This parameter is required.
        Returns:
        this
      • disableDependentServices

        @Stability(Stable)
        public ProjectService.Builder disableDependentServices​(Boolean disableDependentServices)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_dependent_services ProjectService#disable_dependent_services}.

        Parameters:
        disableDependentServices - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_dependent_services ProjectService#disable_dependent_services}. This parameter is required.
        Returns:
        this
      • disableDependentServices

        @Stability(Stable)
        public ProjectService.Builder disableDependentServices​(com.hashicorp.cdktf.IResolvable disableDependentServices)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_dependent_services ProjectService#disable_dependent_services}.

        Parameters:
        disableDependentServices - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_dependent_services ProjectService#disable_dependent_services}. This parameter is required.
        Returns:
        this
      • disableOnDestroy

        @Stability(Stable)
        public ProjectService.Builder disableOnDestroy​(Boolean disableOnDestroy)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_on_destroy ProjectService#disable_on_destroy}.

        Parameters:
        disableOnDestroy - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_on_destroy ProjectService#disable_on_destroy}. This parameter is required.
        Returns:
        this
      • disableOnDestroy

        @Stability(Stable)
        public ProjectService.Builder disableOnDestroy​(com.hashicorp.cdktf.IResolvable disableOnDestroy)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_on_destroy ProjectService#disable_on_destroy}.

        Parameters:
        disableOnDestroy - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_service#disable_on_destroy ProjectService#disable_on_destroy}. This parameter is required.
        Returns:
        this
      • id

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

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

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

        @Stability(Stable)
        public ProjectService.Builder timeouts​(ProjectServiceTimeouts timeouts)
        timeouts block.

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

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