@Stability(value=Stable) public static final class CfnCostCategoryProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCostCategoryProps>
CfnCostCategoryProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCostCategoryProps |
build()
Builds the configured instance.
|
CfnCostCategoryProps.Builder |
defaultValue(String defaultValue)
Sets the value of
CfnCostCategoryProps.getDefaultValue() |
CfnCostCategoryProps.Builder |
name(String name)
Sets the value of
CfnCostCategoryProps.getName() |
CfnCostCategoryProps.Builder |
rules(String rules)
Sets the value of
CfnCostCategoryProps.getRules() |
CfnCostCategoryProps.Builder |
ruleVersion(String ruleVersion)
Sets the value of
CfnCostCategoryProps.getRuleVersion() |
CfnCostCategoryProps.Builder |
splitChargeRules(String splitChargeRules)
Sets the value of
CfnCostCategoryProps.getSplitChargeRules() |
@Stability(value=Stable) public CfnCostCategoryProps.Builder name(String name)
CfnCostCategoryProps.getName()name - The unique name of the Cost Category. This parameter is required.this@Stability(value=Stable) public CfnCostCategoryProps.Builder rules(String rules)
CfnCostCategoryProps.getRules()rules - The array of CostCategoryRule in JSON array format. This parameter is required.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
this@Stability(value=Stable) public CfnCostCategoryProps.Builder ruleVersion(String ruleVersion)
CfnCostCategoryProps.getRuleVersion()ruleVersion - The rule schema version in this particular Cost Category. This parameter is required.this@Stability(value=Stable) public CfnCostCategoryProps.Builder defaultValue(String defaultValue)
CfnCostCategoryProps.getDefaultValue()defaultValue - The default value for the cost category.this@Stability(value=Stable) public CfnCostCategoryProps.Builder splitChargeRules(String splitChargeRules)
CfnCostCategoryProps.getSplitChargeRules()splitChargeRules - The split charge rules that are used to allocate your charges between your Cost Category values.this@Stability(value=Stable) public CfnCostCategoryProps build()
build in interface software.amazon.jsii.Builder<CfnCostCategoryProps>CfnCostCategoryPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.