Interface AccessBudgetDetails.Builder

  • Method Details

    • startTime

      AccessBudgetDetails.Builder startTime(Instant startTime)

      The start time of this budget period.

      Parameters:
      startTime - The start time of this budget period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The end time of this budget period. If not specified, the budget period continues indefinitely.

      Parameters:
      endTime - The end time of this budget period. If not specified, the budget period continues indefinitely.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remainingBudget

      AccessBudgetDetails.Builder remainingBudget(Integer remainingBudget)

      The amount of budget remaining in this period.

      Parameters:
      remainingBudget - The amount of budget remaining in this period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • budget

      The total budget amount allocated for this period.

      Parameters:
      budget - The total budget amount allocated for this period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • budgetType

      AccessBudgetDetails.Builder budgetType(String budgetType)

      The type of budget period. Calendar-based types reset automatically at regular intervals, while LIFETIME budgets never reset.

      Parameters:
      budgetType - The type of budget period. Calendar-based types reset automatically at regular intervals, while LIFETIME budgets never reset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • budgetType

      The type of budget period. Calendar-based types reset automatically at regular intervals, while LIFETIME budgets never reset.

      Parameters:
      budgetType - The type of budget period. Calendar-based types reset automatically at regular intervals, while LIFETIME budgets never reset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoRefresh

      AccessBudgetDetails.Builder autoRefresh(String autoRefresh)

      Specifies whether this budget automatically refreshes when the current period ends.

      Parameters:
      autoRefresh - Specifies whether this budget automatically refreshes when the current period ends.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoRefresh

      AccessBudgetDetails.Builder autoRefresh(AutoRefreshMode autoRefresh)

      Specifies whether this budget automatically refreshes when the current period ends.

      Parameters:
      autoRefresh - Specifies whether this budget automatically refreshes when the current period ends.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: