Class BillingBudgetAmount.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.billing_budget.BillingBudgetAmount.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BillingBudgetAmount>
- Enclosing interface:
- BillingBudgetAmount
@Stability(Stable) public static final class BillingBudgetAmount.Builder extends Object implements software.amazon.jsii.Builder<BillingBudgetAmount>
A builder forBillingBudgetAmount
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingBudgetAmountbuild()Builds the configured instance.BillingBudgetAmount.BuilderlastPeriodAmount(com.hashicorp.cdktf.IResolvable lastPeriodAmount)Sets the value ofBillingBudgetAmount.getLastPeriodAmount()BillingBudgetAmount.BuilderlastPeriodAmount(Boolean lastPeriodAmount)Sets the value ofBillingBudgetAmount.getLastPeriodAmount()BillingBudgetAmount.BuilderspecifiedAmount(BillingBudgetAmountSpecifiedAmount specifiedAmount)Sets the value ofBillingBudgetAmount.getSpecifiedAmount()
-
-
-
Method Detail
-
lastPeriodAmount
@Stability(Stable) public BillingBudgetAmount.Builder lastPeriodAmount(Boolean lastPeriodAmount)
Sets the value ofBillingBudgetAmount.getLastPeriodAmount()- Parameters:
lastPeriodAmount- Configures a budget amount that is automatically set to 100% of last period's spend. Boolean. Set value to true to use. Do not set to false, instead use the 'specified_amount' block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#last_period_amount BillingBudget#last_period_amount}- Returns:
this
-
lastPeriodAmount
@Stability(Stable) public BillingBudgetAmount.Builder lastPeriodAmount(com.hashicorp.cdktf.IResolvable lastPeriodAmount)
Sets the value ofBillingBudgetAmount.getLastPeriodAmount()- Parameters:
lastPeriodAmount- Configures a budget amount that is automatically set to 100% of last period's spend. Boolean. Set value to true to use. Do not set to false, instead use the 'specified_amount' block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#last_period_amount BillingBudget#last_period_amount}- Returns:
this
-
specifiedAmount
@Stability(Stable) public BillingBudgetAmount.Builder specifiedAmount(BillingBudgetAmountSpecifiedAmount specifiedAmount)
Sets the value ofBillingBudgetAmount.getSpecifiedAmount()- Parameters:
specifiedAmount- specified_amount block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#specified_amount BillingBudget#specified_amount}- Returns:
this
-
build
@Stability(Stable) public BillingBudgetAmount build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BillingBudgetAmount>- Returns:
- a new instance of
BillingBudgetAmount - Throws:
NullPointerException- if any required attribute was not provided
-
-