Class CfnBudget.Builder

java.lang.Object
software.amazon.awscdk.services.budgets.CfnBudget.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudget>
Enclosing class:
CfnBudget

@Stability(Stable) public static final class CfnBudget.Builder extends Object implements software.amazon.jsii.Builder<CfnBudget>
A fluent builder for CfnBudget.
  • Method Details

    • create

      @Stability(Stable) public static CfnBudget.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnBudget.Builder.
    • budget

      @Stability(Stable) public CfnBudget.Builder budget(CfnBudget.BudgetDataProperty budget)
      The budget object that you want to create.

      Parameters:
      budget - The budget object that you want to create. This parameter is required.
      Returns:
      this
    • budget

      @Stability(Stable) public CfnBudget.Builder budget(IResolvable budget)
      The budget object that you want to create.

      Parameters:
      budget - The budget object that you want to create. This parameter is required.
      Returns:
      this
    • notificationsWithSubscribers

      @Stability(Stable) public CfnBudget.Builder notificationsWithSubscribers(IResolvable 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, AWS creates the notifications and subscribers for you.

      Parameters:
      notificationsWithSubscribers - A notification that you want to associate with a budget. This parameter is required.
      Returns:
      this
    • notificationsWithSubscribers

      @Stability(Stable) public CfnBudget.Builder notificationsWithSubscribers(List<? extends Object> 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, AWS creates the notifications and subscribers for you.

      Parameters:
      notificationsWithSubscribers - A notification that you want to associate with a budget. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnBudget build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnBudget>
      Returns:
      a newly built instance of CfnBudget.