Class BillingBudgetAmountSpecifiedAmount.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.billing_budget.BillingBudgetAmountSpecifiedAmount.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BillingBudgetAmountSpecifiedAmount>
- Enclosing interface:
- BillingBudgetAmountSpecifiedAmount
@Stability(Stable) public static final class BillingBudgetAmountSpecifiedAmount.Builder extends Object implements software.amazon.jsii.Builder<BillingBudgetAmountSpecifiedAmount>
A builder forBillingBudgetAmountSpecifiedAmount
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingBudgetAmountSpecifiedAmountbuild()Builds the configured instance.BillingBudgetAmountSpecifiedAmount.BuildercurrencyCode(String currencyCode)Sets the value ofBillingBudgetAmountSpecifiedAmount.getCurrencyCode()BillingBudgetAmountSpecifiedAmount.Buildernanos(Number nanos)Sets the value ofBillingBudgetAmountSpecifiedAmount.getNanos()BillingBudgetAmountSpecifiedAmount.Builderunits(String units)Sets the value ofBillingBudgetAmountSpecifiedAmount.getUnits()
-
-
-
Method Detail
-
currencyCode
@Stability(Stable) public BillingBudgetAmountSpecifiedAmount.Builder currencyCode(String currencyCode)
Sets the value ofBillingBudgetAmountSpecifiedAmount.getCurrencyCode()- Parameters:
currencyCode- The 3-letter currency code defined in ISO 4217. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#currency_code BillingBudget#currency_code}- Returns:
this
-
nanos
@Stability(Stable) public BillingBudgetAmountSpecifiedAmount.Builder nanos(Number nanos)
Sets the value ofBillingBudgetAmountSpecifiedAmount.getNanos()- Parameters:
nanos- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#nanos BillingBudget#nanos}- Returns:
this
-
units
@Stability(Stable) public BillingBudgetAmountSpecifiedAmount.Builder units(String units)
Sets the value ofBillingBudgetAmountSpecifiedAmount.getUnits()- Parameters:
units- The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#units BillingBudget#units}- Returns:
this
-
build
@Stability(Stable) public BillingBudgetAmountSpecifiedAmount build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BillingBudgetAmountSpecifiedAmount>- Returns:
- a new instance of
BillingBudgetAmountSpecifiedAmount - Throws:
NullPointerException- if any required attribute was not provided
-
-