Interface Spend.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Spend.Builder,Spend>, SdkBuilder<Spend.Builder,Spend>, SdkPojo
Enclosing class:
Spend

public static interface Spend.Builder extends SdkPojo, CopyableBuilder<Spend.Builder,Spend>
  • Method Summary

    Modifier and Type
    Method
    Description
    The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.
    unit(String unit)
    The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.

    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

    • amount

      Spend.Builder amount(BigDecimal amount)

      The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

      Parameters:
      amount - The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unit

      Spend.Builder unit(String unit)

      The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.

      Parameters:
      unit - The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.
      Returns:
      Returns a reference to this object so that method calls can be chained together.