Class CfnBudgetProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • budget

      @Stability(Stable) public CfnBudgetProps.Builder budget(IResolvable budget)
      Sets the value of CfnBudgetProps.getBudget()
      Parameters:
      budget - The budget object that you want to create. This parameter is required.
      Returns:
      this
    • budget

      @Stability(Stable) public CfnBudgetProps.Builder budget(CfnBudget.BudgetDataProperty budget)
      Sets the value of CfnBudgetProps.getBudget()
      Parameters:
      budget - The budget object that you want to create. This parameter is required.
      Returns:
      this
    • notificationsWithSubscribers

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

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

      @Stability(Stable) public CfnBudgetProps.Builder resourceTags(IResolvable resourceTags)
      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:
      this
    • resourceTags

      @Stability(Stable) public CfnBudgetProps.Builder resourceTags(List<? extends Object> resourceTags)
      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:
      this
    • build

      @Stability(Stable) public CfnBudgetProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnBudgetProps>
      Returns:
      a new instance of CfnBudgetProps
      Throws:
      NullPointerException - if any required attribute was not provided