Interface CfnCostCategoryProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCostCategoryProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.890Z") @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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The unique name of the Cost Category.
    • getRules

      @Stability(Stable) @NotNull String 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.

    • getRuleVersion

      @Stability(Stable) @NotNull String getRuleVersion()
      The rule schema version in this particular Cost Category.
    • getDefaultValue

      @Stability(Stable) @Nullable default String getDefaultValue()
      The default value for the cost category.
    • getSplitChargeRules

      @Stability(Stable) @Nullable default String getSplitChargeRules()
      The split charge rules that are used to allocate your charges between your Cost Category values.
    • builder

      @Stability(Stable) static CfnCostCategoryProps.Builder builder()
      Returns:
      a CfnCostCategoryProps.Builder of CfnCostCategoryProps