@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HistoricalOptions extends Object implements Serializable, Cloneable, StructuredPojo
The parameters that define or describe the historical data that your auto-adjusting budget is based on.
Constructor and Description |
---|
HistoricalOptions() |
Modifier and Type | Method and Description |
---|---|
HistoricalOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getBudgetAdjustmentPeriod()
The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget
amount.
|
Integer |
getLookBackAvailablePeriods()
The integer that describes how many budget periods in your
BudgetAdjustmentPeriod are included in
the calculation of your current BudgetLimit . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBudgetAdjustmentPeriod(Integer budgetAdjustmentPeriod)
The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget
amount.
|
void |
setLookBackAvailablePeriods(Integer lookBackAvailablePeriods)
The integer that describes how many budget periods in your
BudgetAdjustmentPeriod are included in
the calculation of your current BudgetLimit . |
String |
toString()
Returns a string representation of this object.
|
HistoricalOptions |
withBudgetAdjustmentPeriod(Integer budgetAdjustmentPeriod)
The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget
amount.
|
HistoricalOptions |
withLookBackAvailablePeriods(Integer lookBackAvailablePeriods)
The integer that describes how many budget periods in your
BudgetAdjustmentPeriod are included in
the calculation of your current BudgetLimit . |
public void setBudgetAdjustmentPeriod(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
.
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
.
public Integer getBudgetAdjustmentPeriod()
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 HistoricalOptions withBudgetAdjustmentPeriod(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
.
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
.
public void setLookBackAvailablePeriods(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.
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.
public Integer getLookBackAvailablePeriods()
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 withLookBackAvailablePeriods(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.
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.
public String toString()
toString
in class Object
Object.toString()
public HistoricalOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.