Interface UpdateBudgetRequest.Builder

    • Method Detail

      • actionsToAdd

        UpdateBudgetRequest.Builder actionsToAdd​(Collection<BudgetActionToAdd> actionsToAdd)

        The budget actions to add. Budget actions specify what happens when the budget runs out.

        Parameters:
        actionsToAdd - The budget actions to add. Budget actions specify what happens when the budget runs out.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionsToAdd

        UpdateBudgetRequest.Builder actionsToAdd​(BudgetActionToAdd... actionsToAdd)

        The budget actions to add. Budget actions specify what happens when the budget runs out.

        Parameters:
        actionsToAdd - The budget actions to add. Budget actions specify what happens when the budget runs out.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionsToRemove

        UpdateBudgetRequest.Builder actionsToRemove​(Collection<BudgetActionToRemove> actionsToRemove)

        The budget actions to remove from the budget.

        Parameters:
        actionsToRemove - The budget actions to remove from the budget.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionsToRemove

        UpdateBudgetRequest.Builder actionsToRemove​(BudgetActionToRemove... actionsToRemove)

        The budget actions to remove from the budget.

        Parameters:
        actionsToRemove - The budget actions to remove from the budget.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approximateDollarLimit

        UpdateBudgetRequest.Builder approximateDollarLimit​(Float approximateDollarLimit)

        The dollar limit to update on the budget. Based on consumed usage.

        Parameters:
        approximateDollarLimit - The dollar limit to update on the budget. Based on consumed usage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • budgetId

        UpdateBudgetRequest.Builder budgetId​(String budgetId)

        The budget ID to update.

        Parameters:
        budgetId - The budget ID to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        UpdateBudgetRequest.Builder clientToken​(String clientToken)

        The unique token which the server uses to recognize retries of the same request.

        Parameters:
        clientToken - The unique token which the server uses to recognize retries of the same request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateBudgetRequest.Builder description​(String description)

        The description of the budget to update.

        Parameters:
        description - The description of the budget to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        UpdateBudgetRequest.Builder displayName​(String displayName)

        The display name of the budget to update.

        Parameters:
        displayName - The display name of the budget to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • farmId

        UpdateBudgetRequest.Builder farmId​(String farmId)

        The farm ID of the budget to update.

        Parameters:
        farmId - The farm ID of the budget to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schedule

        UpdateBudgetRequest.Builder schedule​(BudgetSchedule schedule)

        The schedule to update.

        Parameters:
        schedule - The schedule to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        UpdateBudgetRequest.Builder status​(String status)

        Updates the status of the budget.

        • ACTIVE–The budget is being evaluated.

        • INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.

        Parameters:
        status - Updates the status of the budget.

        • ACTIVE–The budget is being evaluated.

        • INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BudgetStatus, BudgetStatus
      • status

        UpdateBudgetRequest.Builder status​(BudgetStatus status)

        Updates the status of the budget.

        • ACTIVE–The budget is being evaluated.

        • INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.

        Parameters:
        status - Updates the status of the budget.

        • ACTIVE–The budget is being evaluated.

        • INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BudgetStatus, BudgetStatus