Interface CostCategorySplitChargeRule.Builder

    • Method Detail

      • source

        CostCategorySplitChargeRule.Builder source​(String 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

        CostCategorySplitChargeRule.Builder targets​(Collection<String> 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

        CostCategorySplitChargeRule.Builder targets​(String... 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

        CostCategorySplitChargeRule.Builder method​(String 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:
        CostCategorySplitChargeMethod, CostCategorySplitChargeMethod
      • method

        CostCategorySplitChargeRule.Builder method​(CostCategorySplitChargeMethod 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:
        CostCategorySplitChargeMethod, CostCategorySplitChargeMethod
      • parameters

        CostCategorySplitChargeRule.Builder parameters​(Collection<CostCategorySplitChargeRuleParameter> 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

        CostCategorySplitChargeRule.Builder parameters​(CostCategorySplitChargeRuleParameter... 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.