Class CfnCostCategoryPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ce.CfnCostCategoryPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCostCategoryPropsMixin>
- Enclosing class:
CfnCostCategoryPropsMixin
@Stability(Stable)
public static final class CfnCostCategoryPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCostCategoryPropsMixin>
A fluent builder for
CfnCostCategoryPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) defaultValue(String defaultValue) The default value for the cost category.The unique name of the Cost Category.The array of CostCategoryRule in JSON array format.ruleVersion(String ruleVersion) The rule schema version in this particular Cost Category.splitChargeRules(String splitChargeRules) The split charge rules that are used to allocate your charges between your cost category values.tags(List<? extends CfnCostCategoryPropsMixin.ResourceTagProperty> tags) Tags to assign to the cost category.
-
Method Details
-
create
@Stability(Stable) public static CfnCostCategoryPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCostCategoryPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCostCategoryPropsMixin.Builder.
-
defaultValue
The default value for the cost category.- Parameters:
defaultValue- The default value for the cost category. This parameter is required.- Returns:
this- See Also:
-
name
The unique name of the Cost Category.- Parameters:
name- The unique name of the Cost Category. This parameter is required.- Returns:
this- See Also:
-
rules
The array of CostCategoryRule in JSON array format.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.
- Parameters:
rules- The array of CostCategoryRule in JSON array format. This parameter is required.- Returns:
this- See Also:
-
ruleVersion
The rule schema version in this particular Cost Category.- Parameters:
ruleVersion- The rule schema version in this particular Cost Category. This parameter is required.- Returns:
this- See Also:
-
splitChargeRules
@Stability(Stable) public CfnCostCategoryPropsMixin.Builder splitChargeRules(String splitChargeRules) The split charge rules that are used to allocate your charges between your cost category values.- Parameters:
splitChargeRules- The split charge rules that are used to allocate your charges between your cost category values. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnCostCategoryPropsMixin.Builder tags(List<? extends CfnCostCategoryPropsMixin.ResourceTagProperty> tags) Tags to assign to the cost category.- Parameters:
tags- Tags to assign to the cost category. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCostCategoryPropsMixin>- Returns:
- a newly built instance of
CfnCostCategoryPropsMixin.
-