Class BigqueryCapacityCommitmentConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • plan

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder plan​(String plan)
        Parameters:
        plan - Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#plan BigqueryCapacityCommitment#plan}
        Returns:
        this
      • slotCount

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder slotCount​(Number slotCount)
        Parameters:
        slotCount - Number of slots in this commitment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#slot_count BigqueryCapacityCommitment#slot_count}
        Returns:
        this
      • capacityCommitmentId

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder capacityCommitmentId​(String capacityCommitmentId)
        Parameters:
        capacityCommitmentId - The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#capacity_commitment_id BigqueryCapacityCommitment#capacity_commitment_id}
        Returns:
        this
      • edition

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder edition​(String edition)
        Parameters:
        edition - The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#edition BigqueryCapacityCommitment#edition}
        Returns:
        this
      • enforceSingleAdminProjectPerOrg

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder enforceSingleAdminProjectPerOrg​(String enforceSingleAdminProjectPerOrg)
        Parameters:
        enforceSingleAdminProjectPerOrg - If true, fail the request if another project in the organization has a capacity commitment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#enforce_single_admin_project_per_org BigqueryCapacityCommitment#enforce_single_admin_project_per_org}
        Returns:
        this
      • id

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#id BigqueryCapacityCommitment#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.
        Returns:
        this
      • location

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder location​(String location)
        Parameters:
        location - The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#location BigqueryCapacityCommitment#location}
        Returns:
        this
      • renewalPlan

        @Stability(Stable)
        public BigqueryCapacityCommitmentConfig.Builder renewalPlan​(String renewalPlan)
        Parameters:
        renewalPlan - The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#renewal_plan BigqueryCapacityCommitment#renewal_plan}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public BigqueryCapacityCommitmentConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this