Interface GetBudgetResponse.Builder

    • Method Detail

      • actions

        GetBudgetResponse.Builder actions​(ResponseBudgetAction... actions)

        The budget actions for the budget.

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

        GetBudgetResponse.Builder approximateDollarLimit​(Float approximateDollarLimit)

        The consumed usage limit for the budget.

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

        GetBudgetResponse.Builder budgetId​(String budgetId)

        The budget ID.

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

        GetBudgetResponse.Builder createdAt​(Instant createdAt)

        The date and time the resource was created.

        Parameters:
        createdAt - The date and time the resource was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        GetBudgetResponse.Builder createdBy​(String createdBy)

        The user or system that created this resource.

        Parameters:
        createdBy - The user or system that created this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetBudgetResponse.Builder description​(String description)

        The description of the budget.

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

        GetBudgetResponse.Builder displayName​(String displayName)

        The display name of the budget.

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

        GetBudgetResponse.Builder queueStoppedAt​(Instant queueStoppedAt)

        The date and time the queue stopped.

        Parameters:
        queueStoppedAt - The date and time the queue stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schedule

        GetBudgetResponse.Builder schedule​(BudgetSchedule schedule)

        The budget schedule.

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

        GetBudgetResponse.Builder status​(String status)

        The status of the budget.

        • ACTIVE–Get a budget being evaluated.

        • INACTIVE–Get an inactive budget. This can include expired, canceled, or deleted statuses.

        Parameters:
        status - The status of the budget.

        • ACTIVE–Get a budget being evaluated.

        • INACTIVE–Get an inactive budget. This can include expired, canceled, or deleted statuses.

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

        GetBudgetResponse.Builder status​(BudgetStatus status)

        The status of the budget.

        • ACTIVE–Get a budget being evaluated.

        • INACTIVE–Get an inactive budget. This can include expired, canceled, or deleted statuses.

        Parameters:
        status - The status of the budget.

        • ACTIVE–Get a budget being evaluated.

        • INACTIVE–Get an inactive budget. This can include expired, canceled, or deleted statuses.

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

        GetBudgetResponse.Builder updatedAt​(Instant updatedAt)

        The date and time the resource was updated.

        Parameters:
        updatedAt - The date and time the resource was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedBy

        GetBudgetResponse.Builder updatedBy​(String updatedBy)

        The user or system that updated this resource.

        Parameters:
        updatedBy - The user or system that updated this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usageTrackingResource

        GetBudgetResponse.Builder usageTrackingResource​(UsageTrackingResource usageTrackingResource)

        The resource that the budget is tracking usage for.

        Parameters:
        usageTrackingResource - The resource that the budget is tracking usage for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usages

        GetBudgetResponse.Builder usages​(ConsumedUsages usages)

        The usages of the budget.

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