Class BigqueryCapacityCommitment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_capacity_commitment.BigqueryCapacityCommitment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryCapacityCommitment>
- Enclosing class:
- BigqueryCapacityCommitment
@Stability(Stable) public static final class BigqueryCapacityCommitment.Builder extends Object implements software.amazon.jsii.Builder<BigqueryCapacityCommitment>
A fluent builder forBigqueryCapacityCommitment.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryCapacityCommitmentbuild()BigqueryCapacityCommitment.BuildercapacityCommitmentId(String capacityCommitmentId)The optional capacity commitment ID.BigqueryCapacityCommitment.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)BigqueryCapacityCommitment.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)BigqueryCapacityCommitment.Buildercount(com.hashicorp.cdktf.TerraformCount count)BigqueryCapacityCommitment.Buildercount(Number count)static BigqueryCapacityCommitment.Buildercreate(software.constructs.Construct scope, String id)BigqueryCapacityCommitment.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)BigqueryCapacityCommitment.Builderedition(String edition)The edition type.BigqueryCapacityCommitment.BuilderenforceSingleAdminProjectPerOrg(String enforceSingleAdminProjectPerOrg)If true, fail the request if another project in the organization has a capacity commitment.BigqueryCapacityCommitment.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)BigqueryCapacityCommitment.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#id BigqueryCapacityCommitment#id}.BigqueryCapacityCommitment.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)BigqueryCapacityCommitment.Builderlocation(String location)The geographic location where the transfer config should reside.BigqueryCapacityCommitment.Builderplan(String plan)Capacity commitment plan.BigqueryCapacityCommitment.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#project BigqueryCapacityCommitment#project}.BigqueryCapacityCommitment.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)BigqueryCapacityCommitment.Builderprovisioners(List<? extends Object> provisioners)BigqueryCapacityCommitment.BuilderrenewalPlan(String renewalPlan)The plan this capacity commitment is converted to after commitmentEndTime passes.BigqueryCapacityCommitment.BuilderslotCount(Number slotCount)Number of slots in this commitment.BigqueryCapacityCommitment.Buildertimeouts(BigqueryCapacityCommitmentTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static BigqueryCapacityCommitment.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
BigqueryCapacityCommitment.Builder.
-
connection
@Stability(Experimental) public BigqueryCapacityCommitment.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public BigqueryCapacityCommitment.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public BigqueryCapacityCommitment.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public BigqueryCapacityCommitment.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public BigqueryCapacityCommitment.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public BigqueryCapacityCommitment.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public BigqueryCapacityCommitment.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public BigqueryCapacityCommitment.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public BigqueryCapacityCommitment.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
plan
@Stability(Stable) public BigqueryCapacityCommitment.Builder plan(String plan)
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#plan BigqueryCapacityCommitment#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.- Returns:
this
-
slotCount
@Stability(Stable) public BigqueryCapacityCommitment.Builder slotCount(Number slotCount)
Number of slots in this commitment.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}
- Parameters:
slotCount- Number of slots in this commitment. This parameter is required.- Returns:
this
-
capacityCommitmentId
@Stability(Stable) public BigqueryCapacityCommitment.Builder capacityCommitmentId(String 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}
- Parameters:
capacityCommitmentId- The optional capacity commitment ID. This parameter is required.- Returns:
this
-
edition
@Stability(Stable) public BigqueryCapacityCommitment.Builder edition(String 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}
- Parameters:
edition- The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS. This parameter is required.- Returns:
this
-
enforceSingleAdminProjectPerOrg
@Stability(Stable) public BigqueryCapacityCommitment.Builder enforceSingleAdminProjectPerOrg(String 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}
- Parameters:
enforceSingleAdminProjectPerOrg- If true, fail the request if another project in the organization has a capacity commitment. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public BigqueryCapacityCommitment.Builder id(String 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.
- 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}. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public BigqueryCapacityCommitment.Builder location(String 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}
- Parameters:
location- The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public BigqueryCapacityCommitment.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#project BigqueryCapacityCommitment#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#project BigqueryCapacityCommitment#project}. This parameter is required.- Returns:
this
-
renewalPlan
@Stability(Stable) public BigqueryCapacityCommitment.Builder renewalPlan(String 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}
- Parameters:
renewalPlan- The plan this capacity commitment is converted to after commitmentEndTime passes. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public BigqueryCapacityCommitment.Builder timeouts(BigqueryCapacityCommitmentTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_capacity_commitment#timeouts BigqueryCapacityCommitment#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public BigqueryCapacityCommitment build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryCapacityCommitment>- Returns:
- a newly built instance of
BigqueryCapacityCommitment.
-
-