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

com.pulumi.aws.budgets.inputs.BudgetAutoAdjustDataArgs 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.inputs;

import com.pulumi.aws.budgets.inputs.BudgetAutoAdjustDataHistoricalOptionsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class BudgetAutoAdjustDataArgs extends com.pulumi.resources.ResourceArgs {

    public static final BudgetAutoAdjustDataArgs Empty = new BudgetAutoAdjustDataArgs();

    /**
     * (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values: `FORECAST`,`HISTORICAL`
     * 
     */
    @Import(name="autoAdjustType", required=true)
    private Output autoAdjustType;

    /**
     * @return (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values: `FORECAST`,`HISTORICAL`
     * 
     */
    public Output autoAdjustType() {
        return this.autoAdjustType;
    }

    /**
     * (Optional) - Configuration block of Historical Options. Required for `auto_adjust_type` of `HISTORICAL` Configuration block that defines the historical data that your auto-adjusting budget is based on.
     * 
     */
    @Import(name="historicalOptions")
    private @Nullable Output historicalOptions;

    /**
     * @return (Optional) - Configuration block of Historical Options. Required for `auto_adjust_type` of `HISTORICAL` Configuration block that defines the historical data that your auto-adjusting budget is based on.
     * 
     */
    public Optional> historicalOptions() {
        return Optional.ofNullable(this.historicalOptions);
    }

    /**
     * (Optional) - The last time that your budget was auto-adjusted.
     * 
     */
    @Import(name="lastAutoAdjustTime")
    private @Nullable Output lastAutoAdjustTime;

    /**
     * @return (Optional) - The last time that your budget was auto-adjusted.
     * 
     */
    public Optional> lastAutoAdjustTime() {
        return Optional.ofNullable(this.lastAutoAdjustTime);
    }

    private BudgetAutoAdjustDataArgs() {}

    private BudgetAutoAdjustDataArgs(BudgetAutoAdjustDataArgs $) {
        this.autoAdjustType = $.autoAdjustType;
        this.historicalOptions = $.historicalOptions;
        this.lastAutoAdjustTime = $.lastAutoAdjustTime;
    }

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

    public static final class Builder {
        private BudgetAutoAdjustDataArgs $;

        public Builder() {
            $ = new BudgetAutoAdjustDataArgs();
        }

        public Builder(BudgetAutoAdjustDataArgs defaults) {
            $ = new BudgetAutoAdjustDataArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param autoAdjustType (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values: `FORECAST`,`HISTORICAL`
         * 
         * @return builder
         * 
         */
        public Builder autoAdjustType(Output autoAdjustType) {
            $.autoAdjustType = autoAdjustType;
            return this;
        }

        /**
         * @param autoAdjustType (Required) - The string that defines whether your budget auto-adjusts based on historical or forecasted data. Valid values: `FORECAST`,`HISTORICAL`
         * 
         * @return builder
         * 
         */
        public Builder autoAdjustType(String autoAdjustType) {
            return autoAdjustType(Output.of(autoAdjustType));
        }

        /**
         * @param historicalOptions (Optional) - Configuration block of Historical Options. Required for `auto_adjust_type` of `HISTORICAL` Configuration block that defines the historical data that your auto-adjusting budget is based on.
         * 
         * @return builder
         * 
         */
        public Builder historicalOptions(@Nullable Output historicalOptions) {
            $.historicalOptions = historicalOptions;
            return this;
        }

        /**
         * @param historicalOptions (Optional) - Configuration block of Historical Options. Required for `auto_adjust_type` of `HISTORICAL` Configuration block that defines the historical data that your auto-adjusting budget is based on.
         * 
         * @return builder
         * 
         */
        public Builder historicalOptions(BudgetAutoAdjustDataHistoricalOptionsArgs historicalOptions) {
            return historicalOptions(Output.of(historicalOptions));
        }

        /**
         * @param lastAutoAdjustTime (Optional) - The last time that your budget was auto-adjusted.
         * 
         * @return builder
         * 
         */
        public Builder lastAutoAdjustTime(@Nullable Output lastAutoAdjustTime) {
            $.lastAutoAdjustTime = lastAutoAdjustTime;
            return this;
        }

        /**
         * @param lastAutoAdjustTime (Optional) - The last time that your budget was auto-adjusted.
         * 
         * @return builder
         * 
         */
        public Builder lastAutoAdjustTime(String lastAutoAdjustTime) {
            return lastAutoAdjustTime(Output.of(lastAutoAdjustTime));
        }

        public BudgetAutoAdjustDataArgs build() {
            if ($.autoAdjustType == null) {
                throw new MissingRequiredPropertyException("BudgetAutoAdjustDataArgs", "autoAdjustType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy