Interface CfnCostCategoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCostCategoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-07T10:36:03.108Z")
@Stability(Stable)
public interface CfnCostCategoryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCostCategory
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ce.*; CfnCostCategoryProps cfnCostCategoryProps = CfnCostCategoryProps.builder() .name("name") .rules("rules") .ruleVersion("ruleVersion") // the properties below are optional .defaultValue("defaultValue") .splitChargeRules("splitChargeRules") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCostCategoryProps
static final class
An implementation forCfnCostCategoryProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCostCategoryProps.Builder
builder()
default String
The default value for the cost category.getName()
The unique name of the Cost Category.getRules()
The array of CostCategoryRule in JSON array format.The rule schema version in this particular Cost Category.default String
The split charge rules that are used to allocate your charges between your Cost Category values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The unique name of the Cost Category.- See Also:
-
getRules
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.
- See Also:
-
getRuleVersion
The rule schema version in this particular Cost Category.- See Also:
-
getDefaultValue
The default value for the cost category.- See Also:
-
getSplitChargeRules
The split charge rules that are used to allocate your charges between your Cost Category values.- See Also:
-
builder
- Returns:
- a
CfnCostCategoryProps.Builder
ofCfnCostCategoryProps
-