Interface AutoAdjustData.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AutoAdjustData.Builder,AutoAdjustData>, SdkBuilder<AutoAdjustData.Builder,AutoAdjustData>, SdkPojo
Enclosing class:
AutoAdjustData

public static interface AutoAdjustData.Builder extends SdkPojo, CopyableBuilder<AutoAdjustData.Builder,AutoAdjustData>
  • Method Details

    • autoAdjustType

      AutoAdjustData.Builder autoAdjustType(String autoAdjustType)

      The string that defines whether your budget auto-adjusts based on historical or forecasted data.

      Parameters:
      autoAdjustType - The string that defines whether your budget auto-adjusts based on historical or forecasted data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoAdjustType

      AutoAdjustData.Builder autoAdjustType(AutoAdjustType autoAdjustType)

      The string that defines whether your budget auto-adjusts based on historical or forecasted data.

      Parameters:
      autoAdjustType - The string that defines whether your budget auto-adjusts based on historical or forecasted data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • historicalOptions

      AutoAdjustData.Builder historicalOptions(HistoricalOptions historicalOptions)

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

      Parameters:
      historicalOptions - The parameters that define or describe the historical data that your auto-adjusting budget is based on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • historicalOptions

      default AutoAdjustData.Builder historicalOptions(Consumer<HistoricalOptions.Builder> historicalOptions)

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

      This is a convenience method that creates an instance of the HistoricalOptions.Builder avoiding the need to create one manually via HistoricalOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to historicalOptions(HistoricalOptions).

      Parameters:
      historicalOptions - a consumer that will call methods on HistoricalOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastAutoAdjustTime

      AutoAdjustData.Builder lastAutoAdjustTime(Instant lastAutoAdjustTime)

      The last time that your budget was auto-adjusted.

      Parameters:
      lastAutoAdjustTime - The last time that your budget was auto-adjusted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.