Class BillingBudget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.billing_budget.BillingBudget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BillingBudget>
- Enclosing class:
- BillingBudget
@Stability(Stable) public static final class BillingBudget.Builder extends Object implements software.amazon.jsii.Builder<BillingBudget>
A fluent builder forBillingBudget.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingBudget.BuilderallUpdatesRule(BillingBudgetAllUpdatesRule allUpdatesRule)all_updates_rule block.BillingBudget.Builderamount(BillingBudgetAmount amount)amount block.BillingBudget.BuilderbillingAccount(String billingAccount)ID of the billing account to set a budget on.BillingBudget.BuilderbudgetFilter(BillingBudgetBudgetFilter budgetFilter)budget_filter block.BillingBudgetbuild()BillingBudget.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)BillingBudget.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)BillingBudget.Buildercount(com.hashicorp.cdktf.TerraformCount count)BillingBudget.Buildercount(Number count)static BillingBudget.Buildercreate(software.constructs.Construct scope, String id)BillingBudget.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)BillingBudget.BuilderdisplayName(String displayName)User data for display name in UI.BillingBudget.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)BillingBudget.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#id BillingBudget#id}.BillingBudget.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)BillingBudget.BuilderownershipScope(String ownershipScope)The ownership scope of the budget.BillingBudget.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)BillingBudget.Builderprovisioners(List<? extends Object> provisioners)BillingBudget.BuilderthresholdRules(com.hashicorp.cdktf.IResolvable thresholdRules)threshold_rules block.BillingBudget.BuilderthresholdRules(List<? extends BillingBudgetThresholdRules> thresholdRules)threshold_rules block.BillingBudget.Buildertimeouts(BillingBudgetTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static BillingBudget.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
BillingBudget.Builder.
-
connection
@Stability(Experimental) public BillingBudget.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public BillingBudget.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public BillingBudget.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public BillingBudget.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public BillingBudget.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public BillingBudget.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public BillingBudget.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public BillingBudget.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public BillingBudget.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
amount
@Stability(Stable) public BillingBudget.Builder amount(BillingBudgetAmount amount)
amount block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#amount BillingBudget#amount}
- Parameters:
amount- amount block. This parameter is required.- Returns:
this
-
billingAccount
@Stability(Stable) public BillingBudget.Builder billingAccount(String billingAccount)
ID of the billing account to set a budget on.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#billing_account BillingBudget#billing_account}
- Parameters:
billingAccount- ID of the billing account to set a budget on. This parameter is required.- Returns:
this
-
allUpdatesRule
@Stability(Stable) public BillingBudget.Builder allUpdatesRule(BillingBudgetAllUpdatesRule allUpdatesRule)
all_updates_rule block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#all_updates_rule BillingBudget#all_updates_rule}
- Parameters:
allUpdatesRule- all_updates_rule block. This parameter is required.- Returns:
this
-
budgetFilter
@Stability(Stable) public BillingBudget.Builder budgetFilter(BillingBudgetBudgetFilter budgetFilter)
budget_filter block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#budget_filter BillingBudget#budget_filter}
- Parameters:
budgetFilter- budget_filter block. This parameter is required.- Returns:
this
-
displayName
@Stability(Stable) public BillingBudget.Builder displayName(String displayName)
User data for display name in UI. Must be <= 60 chars.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#display_name BillingBudget#display_name}
- Parameters:
displayName- User data for display name in UI. Must be <= 60 chars. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public BillingBudget.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#id BillingBudget#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_budget#id BillingBudget#id}. This parameter is required.- Returns:
this
-
ownershipScope
@Stability(Stable) public BillingBudget.Builder ownershipScope(String ownershipScope)
The ownership scope of the budget.The ownership scope and users' IAM permissions determine who has full access to the budget's data. Possible values: ["OWNERSHIP_SCOPE_UNSPECIFIED", "ALL_USERS", "BILLING_ACCOUNT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#ownership_scope BillingBudget#ownership_scope}
- Parameters:
ownershipScope- The ownership scope of the budget. This parameter is required.- Returns:
this
-
thresholdRules
@Stability(Stable) public BillingBudget.Builder thresholdRules(com.hashicorp.cdktf.IResolvable thresholdRules)
threshold_rules block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#threshold_rules BillingBudget#threshold_rules}
- Parameters:
thresholdRules- threshold_rules block. This parameter is required.- Returns:
this
-
thresholdRules
@Stability(Stable) public BillingBudget.Builder thresholdRules(List<? extends BillingBudgetThresholdRules> thresholdRules)
threshold_rules block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#threshold_rules BillingBudget#threshold_rules}
- Parameters:
thresholdRules- threshold_rules block. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public BillingBudget.Builder timeouts(BillingBudgetTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#timeouts BillingBudget#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public BillingBudget build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BillingBudget>- Returns:
- a newly built instance of
BillingBudget.
-
-