Interface CreateBudgetRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BudgetsRequest.Builder, Buildable, CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>, SdkBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateBudgetRequest

public static interface CreateBudgetRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>
  • Method Details

    • 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

      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.
    • budget

      The budget object that you want to create.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to budget(Budget).

      Parameters:
      budget - a consumer that will call methods on Budget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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<NotificationWithSubscribers>).

      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:
    • overrideConfiguration

      CreateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.