@Stability(value=Stable) public static final class CfnBudget.SpendProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBudget.SpendProperty>
CfnBudget.SpendProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBudget.SpendProperty.Builder |
amount(Number amount)
Sets the value of
CfnBudget.SpendProperty.getAmount() |
CfnBudget.SpendProperty |
build()
Builds the configured instance.
|
CfnBudget.SpendProperty.Builder |
unit(String unit)
Sets the value of
CfnBudget.SpendProperty.getUnit() |
@Stability(value=Stable) public CfnBudget.SpendProperty.Builder amount(Number amount)
CfnBudget.SpendProperty.getAmount()amount - The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. This parameter is required.this@Stability(value=Stable) public CfnBudget.SpendProperty.Builder unit(String unit)
CfnBudget.SpendProperty.getUnit()unit - The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. This parameter is required.this@Stability(value=Stable) public CfnBudget.SpendProperty build()
build in interface software.amazon.jsii.Builder<CfnBudget.SpendProperty>CfnBudget.SpendPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.