public static interface CostCategorySplitChargeRule.Builder extends SdkPojo, CopyableBuilder<CostCategorySplitChargeRule.Builder,CostCategorySplitChargeRule>
| Modifier and Type | Method and Description |
|---|---|
CostCategorySplitChargeRule.Builder |
method(CostCategorySplitChargeMethod method)
The method that's used to define how to split your source costs across your targets.
|
CostCategorySplitChargeRule.Builder |
method(String method)
The method that's used to define how to split your source costs across your targets.
|
CostCategorySplitChargeRule.Builder |
parameters(Collection<CostCategorySplitChargeRuleParameter> parameters)
The parameters for a split charge method.
|
CostCategorySplitChargeRule.Builder |
parameters(Consumer<CostCategorySplitChargeRuleParameter.Builder>... parameters)
The parameters for a split charge method.
|
CostCategorySplitChargeRule.Builder |
parameters(CostCategorySplitChargeRuleParameter... parameters)
The parameters for a split charge method.
|
CostCategorySplitChargeRule.Builder |
source(String source)
The Cost Category value that you want to split.
|
CostCategorySplitChargeRule.Builder |
targets(Collection<String> targets)
The Cost Category values that you want to split costs across.
|
CostCategorySplitChargeRule.Builder |
targets(String... targets)
The Cost Category values that you want to split costs across.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCostCategorySplitChargeRule.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.
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.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.
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.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.
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.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.
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.
CostCategorySplitChargeMethod,
CostCategorySplitChargeMethodCostCategorySplitChargeRule.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.
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.
CostCategorySplitChargeMethod,
CostCategorySplitChargeMethodCostCategorySplitChargeRule.Builder parameters(Collection<CostCategorySplitChargeRuleParameter> parameters)
The parameters for a split charge method. This is only required for the FIXED method.
parameters - The parameters for a split charge method. This is only required for the FIXED method.CostCategorySplitChargeRule.Builder parameters(CostCategorySplitChargeRuleParameter... parameters)
The parameters for a split charge method. This is only required for the FIXED method.
parameters - The parameters for a split charge method. This is only required for the FIXED method.CostCategorySplitChargeRule.Builder parameters(Consumer<CostCategorySplitChargeRuleParameter.Builder>... parameters)
The parameters for a split charge method. This is only required for the FIXED method.
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.
parameters - a consumer that will call methods on
CostCategorySplitChargeRuleParameter.Builder#parameters(java.util.Collection) Copyright © 2022. All rights reserved.