Class ClouddeployTargetExecutionConfigs.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • artifactStorage

        @Stability(Stable)
        public ClouddeployTargetExecutionConfigs.Builder artifactStorage​(String artifactStorage)
        Parameters:
        artifactStorage - Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#artifact_storage ClouddeployTarget#artifact_storage}
        Returns:
        this
      • executionTimeout

        @Stability(Stable)
        public ClouddeployTargetExecutionConfigs.Builder executionTimeout​(String executionTimeout)
        Parameters:
        executionTimeout - Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#execution_timeout ClouddeployTarget#execution_timeout}
        Returns:
        this
      • serviceAccount

        @Stability(Stable)
        public ClouddeployTargetExecutionConfigs.Builder serviceAccount​(String serviceAccount)
        Parameters:
        serviceAccount - Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#service_account ClouddeployTarget#service_account}
        Returns:
        this
      • verbose

        @Stability(Stable)
        public ClouddeployTargetExecutionConfigs.Builder verbose​(Boolean verbose)
        Parameters:
        verbose - Optional. If true, additional logging will be enabled when running builds in this execution environment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#verbose ClouddeployTarget#verbose}
        Returns:
        this
      • verbose

        @Stability(Stable)
        public ClouddeployTargetExecutionConfigs.Builder verbose​(com.hashicorp.cdktf.IResolvable verbose)
        Parameters:
        verbose - Optional. If true, additional logging will be enabled when running builds in this execution environment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#verbose ClouddeployTarget#verbose}
        Returns:
        this
      • workerPool

        @Stability(Stable)
        public ClouddeployTargetExecutionConfigs.Builder workerPool​(String workerPool)
        Parameters:
        workerPool - Optional. The resource name of the `WorkerPool`, with the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. If this optional field is unspecified, the default Cloud Build pool will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#worker_pool ClouddeployTarget#worker_pool}
        Returns:
        this