Interface CostCategorySplitChargeRule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CostCategorySplitChargeRule.Builder,CostCategorySplitChargeRule>, SdkBuilder<CostCategorySplitChargeRule.Builder,CostCategorySplitChargeRule>, SdkPojo
Enclosing class:
CostCategorySplitChargeRule

public static interface CostCategorySplitChargeRule.Builder extends SdkPojo, CopyableBuilder<CostCategorySplitChargeRule.Builder,CostCategorySplitChargeRule>
  • Method Details

    • source

      The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source.

      Parameters:
      source - The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.

      Parameters:
      targets - The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.

      Parameters:
      targets - The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • method

      The method that's used to define how to split your source costs across your targets.

      Proportional - Allocates charges across your targets based on the proportional weighted cost of each target.

      Fixed - Allocates charges across your targets based on your defined allocation percentage.

      >Even - Allocates costs evenly across all targets.

      Parameters:
      method - The method that's used to define how to split your source costs across your targets.

      Proportional - Allocates charges across your targets based on the proportional weighted cost of each target.

      Fixed - Allocates charges across your targets based on your defined allocation percentage.

      >Even - Allocates costs evenly across all targets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • method

      The method that's used to define how to split your source costs across your targets.

      Proportional - Allocates charges across your targets based on the proportional weighted cost of each target.

      Fixed - Allocates charges across your targets based on your defined allocation percentage.

      >Even - Allocates costs evenly across all targets.

      Parameters:
      method - The method that's used to define how to split your source costs across your targets.

      Proportional - Allocates charges across your targets based on the proportional weighted cost of each target.

      Fixed - Allocates charges across your targets based on your defined allocation percentage.

      >Even - Allocates costs evenly across all targets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parameters

      The parameters for a split charge method. This is only required for the FIXED method.

      Parameters:
      parameters - The parameters for a split charge method. This is only required for the FIXED method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      The parameters for a split charge method. This is only required for the FIXED method.

      Parameters:
      parameters - The parameters for a split charge method. This is only required for the FIXED method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      The parameters for a split charge method. This is only required for the FIXED method.

      This is a convenience method that creates an instance of the CostCategorySplitChargeRuleParameter.Builder avoiding the need to create one manually via CostCategorySplitChargeRuleParameter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to parameters(List<CostCategorySplitChargeRuleParameter>).

      Parameters:
      parameters - a consumer that will call methods on CostCategorySplitChargeRuleParameter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: