Interface CostCategory.Builder

    • 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
      • 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.
      • 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.
      • 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.
      • 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.