Interface HistoricalOptions.Builder

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

public static interface HistoricalOptions.Builder extends SdkPojo, CopyableBuilder<HistoricalOptions.Builder,HistoricalOptions>
  • Method Details

    • budgetAdjustmentPeriod

      HistoricalOptions.Builder budgetAdjustmentPeriod(Integer budgetAdjustmentPeriod)

      The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit granularity of the budget:

      • For the DAILY granularity, the maximum value is 60.

      • For the MONTHLY granularity, the maximum value is 12.

      • For the QUARTERLY granularity, the maximum value is 4.

      • For the ANNUALLY granularity, the maximum value is 1.

      Parameters:
      budgetAdjustmentPeriod - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit granularity of the budget:

      • For the DAILY granularity, the maximum value is 60.

      • For the MONTHLY granularity, the maximum value is 12.

      • For the QUARTERLY granularity, the maximum value is 4.

      • For the ANNUALLY granularity, the maximum value is 1.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lookBackAvailablePeriods

      HistoricalOptions.Builder lookBackAvailablePeriods(Integer lookBackAvailablePeriods)

      The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit.

      For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3.

      You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data.

      Parameters:
      lookBackAvailablePeriods - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit.

      For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3.

      You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data.

      Returns:
      Returns a reference to this object so that method calls can be chained together.