Interface CostCategory.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CostCategory.Builder,CostCategory>,SdkBuilder<CostCategory.Builder,CostCategory>,SdkPojo
- Enclosing class:
- CostCategory
public static interface CostCategory.Builder extends SdkPojo, CopyableBuilder<CostCategory.Builder,CostCategory>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CostCategory.BuildercostCategoryArn(String costCategoryArn)The unique identifier for your Cost Category.CostCategory.BuilderdefaultValue(String defaultValue)Sets the value of the DefaultValue property for this object.CostCategory.BuildereffectiveEnd(String effectiveEnd)The effective end date of your Cost Category.CostCategory.BuildereffectiveStart(String effectiveStart)The effective start date of your Cost Category.CostCategory.Buildername(String name)Sets the value of the Name property for this object.CostCategory.BuilderprocessingStatus(Collection<CostCategoryProcessingStatus> processingStatus)The list of processing statuses for Cost Management products for a specific cost category.CostCategory.BuilderprocessingStatus(Consumer<CostCategoryProcessingStatus.Builder>... processingStatus)The list of processing statuses for Cost Management products for a specific cost category.CostCategory.BuilderprocessingStatus(CostCategoryProcessingStatus... processingStatus)The list of processing statuses for Cost Management products for a specific cost category.CostCategory.Builderrules(Collection<CostCategoryRule> rules)The rules are processed in order.CostCategory.Builderrules(Consumer<CostCategoryRule.Builder>... rules)The rules are processed in order.CostCategory.Builderrules(CostCategoryRule... rules)The rules are processed in order.CostCategory.BuilderruleVersion(String ruleVersion)Sets the value of the RuleVersion property for this object.CostCategory.BuilderruleVersion(CostCategoryRuleVersion ruleVersion)Sets the value of the RuleVersion property for this object.CostCategory.BuildersplitChargeRules(Collection<CostCategorySplitChargeRule> splitChargeRules)The split charge rules that are used to allocate your charges between your Cost Category values.CostCategory.BuildersplitChargeRules(Consumer<CostCategorySplitChargeRule.Builder>... splitChargeRules)The split charge rules that are used to allocate your charges between your Cost Category values.CostCategory.BuildersplitChargeRules(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 Detail
-
costCategoryArn
CostCategory.Builder costCategoryArn(String 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
CostCategory.Builder effectiveStart(String 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
CostCategory.Builder effectiveEnd(String 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
CostCategory.Builder name(String 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
CostCategory.Builder ruleVersion(String 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:
CostCategoryRuleVersion,CostCategoryRuleVersion
-
ruleVersion
CostCategory.Builder ruleVersion(CostCategoryRuleVersion 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:
CostCategoryRuleVersion,CostCategoryRuleVersion
-
rules
CostCategory.Builder rules(Collection<CostCategoryRule> 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
CostCategory.Builder rules(CostCategoryRule... 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
CostCategory.Builder rules(Consumer<CostCategoryRule.Builder>... 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.Builderavoiding the need to create one manually viaCostCategoryRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - 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:
#rules(java.util.Collection)
-
splitChargeRules
CostCategory.Builder splitChargeRules(Collection<CostCategorySplitChargeRule> 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(CostCategorySplitChargeRule... 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.Builderavoiding the need to create one manually viaCostCategorySplitChargeRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#splitChargeRules(List.) - 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:
#splitChargeRules(java.util.Collection)
-
processingStatus
CostCategory.Builder processingStatus(Collection<CostCategoryProcessingStatus> 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(CostCategoryProcessingStatus... 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.Builderavoiding the need to create one manually viaCostCategoryProcessingStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#processingStatus(List.) - 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:
#processingStatus(java.util.Collection)
-
defaultValue
CostCategory.Builder defaultValue(String 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.
-
-