/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.budgets.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* The parameters that define or describe the historical data that your auto-adjusting budget is based on. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class HistoricalOptions implements Serializable, Cloneable, StructuredPojo { /** *

* 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: *

* */ private Integer budgetAdjustmentPeriod; /** *

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

*/ private Integer lookBackAvailablePeriods; /** *

* 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: *

* * * @param 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:

*