Class BillingProjectInfo.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.billing_project_info.BillingProjectInfo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BillingProjectInfo>
- Enclosing class:
- BillingProjectInfo
@Stability(Stable) public static final class BillingProjectInfo.Builder extends Object implements software.amazon.jsii.Builder<BillingProjectInfo>
A fluent builder forBillingProjectInfo.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingProjectInfo.BuilderbillingAccount(String billingAccount)The ID of the billing account associated with the project, if any.BillingProjectInfobuild()BillingProjectInfo.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)BillingProjectInfo.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)BillingProjectInfo.Buildercount(com.hashicorp.cdktf.TerraformCount count)BillingProjectInfo.Buildercount(Number count)static BillingProjectInfo.Buildercreate(software.constructs.Construct scope, String id)BillingProjectInfo.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)BillingProjectInfo.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)BillingProjectInfo.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_project_info#id BillingProjectInfo#id}.BillingProjectInfo.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)BillingProjectInfo.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_project_info#project BillingProjectInfo#project}.BillingProjectInfo.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)BillingProjectInfo.Builderprovisioners(List<? extends Object> provisioners)BillingProjectInfo.Buildertimeouts(BillingProjectInfoTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static BillingProjectInfo.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
BillingProjectInfo.Builder.
-
connection
@Stability(Experimental) public BillingProjectInfo.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public BillingProjectInfo.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public BillingProjectInfo.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public BillingProjectInfo.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public BillingProjectInfo.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public BillingProjectInfo.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public BillingProjectInfo.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public BillingProjectInfo.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public BillingProjectInfo.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
billingAccount
@Stability(Stable) public BillingProjectInfo.Builder billingAccount(String billingAccount)
The ID of the billing account associated with the project, if any.Set to empty string to disable billing for the project. For example, '"012345-567890-ABCDEF"' or '""'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_project_info#billing_account BillingProjectInfo#billing_account}
- Parameters:
billingAccount- The ID of the billing account associated with the project, if any. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public BillingProjectInfo.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_project_info#id BillingProjectInfo#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/billing_project_info#id BillingProjectInfo#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public BillingProjectInfo.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_project_info#project BillingProjectInfo#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_project_info#project BillingProjectInfo#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public BillingProjectInfo.Builder timeouts(BillingProjectInfoTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_project_info#timeouts BillingProjectInfo#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public BillingProjectInfo build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BillingProjectInfo>- Returns:
- a newly built instance of
BillingProjectInfo.
-
-