Interface CreateBudgetRequest.Builder

    • Method Detail

      • accountId

        CreateBudgetRequest.Builder accountId​(String accountId)

        The accountId that is associated with the budget.

        Parameters:
        accountId - The accountId that is associated with the budget.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • budget

        CreateBudgetRequest.Builder budget​(Budget budget)

        The budget object that you want to create.

        Parameters:
        budget - The budget object that you want to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notificationsWithSubscribers

        CreateBudgetRequest.Builder notificationsWithSubscribers​(Collection<NotificationWithSubscribers> notificationsWithSubscribers)

        A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.

        Parameters:
        notificationsWithSubscribers - A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notificationsWithSubscribers

        CreateBudgetRequest.Builder notificationsWithSubscribers​(NotificationWithSubscribers... notificationsWithSubscribers)

        A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.

        Parameters:
        notificationsWithSubscribers - A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notificationsWithSubscribers

        CreateBudgetRequest.Builder notificationsWithSubscribers​(Consumer<NotificationWithSubscribers.Builder>... notificationsWithSubscribers)

        A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #notificationsWithSubscribers(List).

        Parameters:
        notificationsWithSubscribers - a consumer that will call methods on NotificationWithSubscribers.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #notificationsWithSubscribers(java.util.Collection)