public static final class CfnCostCategory.Builder
extends java.lang.Object
CfnCostCategory
.Modifier and Type | Method and Description |
---|---|
CfnCostCategory |
build() |
static CfnCostCategory.Builder |
create(Construct scope,
java.lang.String id) |
CfnCostCategory.Builder |
defaultValue(java.lang.String defaultValue)
The default value for the cost category.
|
CfnCostCategory.Builder |
name(java.lang.String name)
The unique name of the Cost Category.
|
CfnCostCategory.Builder |
rules(java.lang.String rules)
The array of CostCategoryRule in JSON array format.
|
CfnCostCategory.Builder |
ruleVersion(java.lang.String ruleVersion)
The rule schema version in this particular Cost Category.
|
CfnCostCategory.Builder |
splitChargeRules(java.lang.String splitChargeRules)
The split charge rules that are used to allocate your charges between your Cost Category values.
|
public static CfnCostCategory.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnCostCategory.Builder
.public CfnCostCategory.Builder name(java.lang.String name)
name
- The unique name of the Cost Category. This parameter is required.this
public CfnCostCategory.Builder rules(java.lang.String rules)
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.
rules
- The array of CostCategoryRule in JSON array format. This parameter is required.this
public CfnCostCategory.Builder ruleVersion(java.lang.String ruleVersion)
ruleVersion
- The rule schema version in this particular Cost Category. This parameter is required.this
public CfnCostCategory.Builder defaultValue(java.lang.String defaultValue)
defaultValue
- The default value for the cost category. This parameter is required.this
public CfnCostCategory.Builder splitChargeRules(java.lang.String splitChargeRules)
splitChargeRules
- The split charge rules that are used to allocate your charges between your Cost Category values. This parameter is required.this
public CfnCostCategory build()