Interface CostCategory.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CostCategory.Builder,
,CostCategory> SdkBuilder<CostCategory.Builder,
,CostCategory> SdkPojo
- Enclosing class:
CostCategory
-
Method Summary
Modifier and TypeMethodDescriptioncostCategoryArn
(String costCategoryArn) The unique identifier for your Cost Category.defaultValue
(String defaultValue) Sets the value of the DefaultValue property for this object.effectiveEnd
(String effectiveEnd) The effective end date of your Cost Category.effectiveStart
(String effectiveStart) The effective start date of your Cost Category.Sets the value of the Name property for this object.processingStatus
(Collection<CostCategoryProcessingStatus> processingStatus) The list of processing statuses for Cost Management products for a specific cost category.processingStatus
(Consumer<CostCategoryProcessingStatus.Builder>... processingStatus) The list of processing statuses for Cost Management products for a specific cost category.processingStatus
(CostCategoryProcessingStatus... processingStatus) The list of processing statuses for Cost Management products for a specific cost category.rules
(Collection<CostCategoryRule> rules) The rules are processed in order.rules
(Consumer<CostCategoryRule.Builder>... rules) The rules are processed in order.rules
(CostCategoryRule... rules) The rules are processed in order.ruleVersion
(String ruleVersion) Sets the value of the RuleVersion property for this object.ruleVersion
(CostCategoryRuleVersion ruleVersion) Sets the value of the RuleVersion property for this object.splitChargeRules
(Collection<CostCategorySplitChargeRule> splitChargeRules) The split charge rules that are used to allocate your charges between your Cost Category values.splitChargeRules
(Consumer<CostCategorySplitChargeRule.Builder>... splitChargeRules) The split charge rules that are used to allocate your charges between your Cost Category values.splitChargeRules
(CostCategorySplitChargeRule... splitChargeRules) The split charge rules that are used to allocate your charges between your Cost Category values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
costCategoryArn
The unique identifier for your Cost Category.
- Parameters:
costCategoryArn
- The unique identifier for your Cost Category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveStart
The effective start date of your Cost Category.
- Parameters:
effectiveStart
- The effective start date of your Cost Category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveEnd
The effective end date of your Cost Category.
- Parameters:
effectiveEnd
- The effective end date of your Cost Category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Sets the value of the Name property for this object.- Parameters:
name
- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleVersion
Sets the value of the RuleVersion property for this object.- Parameters:
ruleVersion
- The new value for the RuleVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleVersion
Sets the value of the RuleVersion property for this object.- Parameters:
ruleVersion
- The new value for the RuleVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rules
The 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.
- Parameters:
rules
- The 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The 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.
- Parameters:
rules
- The 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The 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.
This is a convenience method that creates an instance of theCostCategoryRule.Builder
avoiding the need to create one manually viaCostCategoryRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<CostCategoryRule>)
.- Parameters:
rules
- a consumer that will call methods onCostCategoryRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
splitChargeRules
The split charge rules that are used to allocate your charges between your Cost Category values.
- Parameters:
splitChargeRules
- The split charge rules that are used to allocate your charges between your Cost Category values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitChargeRules
The split charge rules that are used to allocate your charges between your Cost Category values.
- Parameters:
splitChargeRules
- The split charge rules that are used to allocate your charges between your Cost Category values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitChargeRules
CostCategory.Builder splitChargeRules(Consumer<CostCategorySplitChargeRule.Builder>... splitChargeRules) The split charge rules that are used to allocate your charges between your Cost Category values.
This is a convenience method that creates an instance of theCostCategorySplitChargeRule.Builder
avoiding the need to create one manually viaCostCategorySplitChargeRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosplitChargeRules(List<CostCategorySplitChargeRule>)
.- Parameters:
splitChargeRules
- a consumer that will call methods onCostCategorySplitChargeRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingStatus
The list of processing statuses for Cost Management products for a specific cost category.
- Parameters:
processingStatus
- The list of processing statuses for Cost Management products for a specific cost category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingStatus
The list of processing statuses for Cost Management products for a specific cost category.
- Parameters:
processingStatus
- The list of processing statuses for Cost Management products for a specific cost category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingStatus
CostCategory.Builder processingStatus(Consumer<CostCategoryProcessingStatus.Builder>... processingStatus) The list of processing statuses for Cost Management products for a specific cost category.
This is a convenience method that creates an instance of theCostCategoryProcessingStatus.Builder
avoiding the need to create one manually viaCostCategoryProcessingStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessingStatus(List<CostCategoryProcessingStatus>)
.- Parameters:
processingStatus
- a consumer that will call methods onCostCategoryProcessingStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultValue
Sets the value of the DefaultValue property for this object.- Parameters:
defaultValue
- The new value for the DefaultValue property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-