@Generated(value="software.amazon.awssdk:codegen") public final class HistoricalOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HistoricalOptions.Builder,HistoricalOptions>
The parameters that define or describe the historical data that your auto-adjusting budget is based on.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HistoricalOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
budgetAdjustmentPeriod()
The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget
amount.
|
static HistoricalOptions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
lookBackAvailablePeriods()
The integer that describes how many budget periods in your
BudgetAdjustmentPeriod are included in
the calculation of your current BudgetLimit. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HistoricalOptions.Builder> |
serializableBuilderClass() |
HistoricalOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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.
public final 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.
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.
public HistoricalOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HistoricalOptions.Builder,HistoricalOptions>public static HistoricalOptions.Builder builder()
public static Class<? extends HistoricalOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.