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)
      • resourceTags

        CreateBudgetRequest.Builder resourceTags​(Collection<ResourceTag> resourceTags)

        An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.

        Parameters:
        resourceTags - An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        CreateBudgetRequest.Builder resourceTags​(ResourceTag... resourceTags)

        An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.

        Parameters:
        resourceTags - An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        CreateBudgetRequest.Builder resourceTags​(Consumer<ResourceTag.Builder>... resourceTags)

        An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.

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

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

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