All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.budgets.outputs.GetBudgetAutoAdjustDataHistoricalOption Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.budgets.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class GetBudgetAutoAdjustDataHistoricalOption {
    /**
     * @return (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
     * 
     */
    private Integer budgetAdjustmentPeriod;
    /**
     * @return (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. 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. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the `budget_adjustment_period` and your historical cost data.
     * 
     */
    private Integer lookbackAvailablePeriods;

    private GetBudgetAutoAdjustDataHistoricalOption() {}
    /**
     * @return (Required) - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
     * 
     */
    public Integer budgetAdjustmentPeriod() {
        return this.budgetAdjustmentPeriod;
    }
    /**
     * @return (Optional) - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current budget limit. 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. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the `budget_adjustment_period` and your historical cost data.
     * 
     */
    public Integer lookbackAvailablePeriods() {
        return this.lookbackAvailablePeriods;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetBudgetAutoAdjustDataHistoricalOption defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer budgetAdjustmentPeriod;
        private Integer lookbackAvailablePeriods;
        public Builder() {}
        public Builder(GetBudgetAutoAdjustDataHistoricalOption defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.budgetAdjustmentPeriod = defaults.budgetAdjustmentPeriod;
    	      this.lookbackAvailablePeriods = defaults.lookbackAvailablePeriods;
        }

        @CustomType.Setter
        public Builder budgetAdjustmentPeriod(Integer budgetAdjustmentPeriod) {
            if (budgetAdjustmentPeriod == null) {
              throw new MissingRequiredPropertyException("GetBudgetAutoAdjustDataHistoricalOption", "budgetAdjustmentPeriod");
            }
            this.budgetAdjustmentPeriod = budgetAdjustmentPeriod;
            return this;
        }
        @CustomType.Setter
        public Builder lookbackAvailablePeriods(Integer lookbackAvailablePeriods) {
            if (lookbackAvailablePeriods == null) {
              throw new MissingRequiredPropertyException("GetBudgetAutoAdjustDataHistoricalOption", "lookbackAvailablePeriods");
            }
            this.lookbackAvailablePeriods = lookbackAvailablePeriods;
            return this;
        }
        public GetBudgetAutoAdjustDataHistoricalOption build() {
            final var _resultValue = new GetBudgetAutoAdjustDataHistoricalOption();
            _resultValue.budgetAdjustmentPeriod = budgetAdjustmentPeriod;
            _resultValue.lookbackAvailablePeriods = lookbackAvailablePeriods;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy