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 Details

    • 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

      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:
    • 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 the CostCategoryRule.Builder avoiding the need to create one manually via CostCategoryRule.builder() .

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

      Parameters:
      rules - a consumer that will call methods on CostCategoryRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the CostCategorySplitChargeRule.Builder avoiding the need to create one manually via CostCategorySplitChargeRule.builder().

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

      Parameters:
      splitChargeRules - a consumer that will call methods on CostCategorySplitChargeRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the CostCategoryProcessingStatus.Builder avoiding the need to create one manually via CostCategoryProcessingStatus.builder().

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

      Parameters:
      processingStatus - a consumer that will call methods on CostCategoryProcessingStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.