Interface CreateBudgetRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- BudgetsRequest.Builder,- Buildable,- CopyableBuilder<CreateBudgetRequest.Builder,,- CreateBudgetRequest> - SdkBuilder<CreateBudgetRequest.Builder,,- CreateBudgetRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateBudgetRequest
- 
Method SummaryModifier and TypeMethodDescriptionTheaccountIdthat is associated with the budget.default CreateBudgetRequest.Builderbudget(Consumer<Budget.Builder> budget) The budget object that you want to create.The budget object that you want to create.notificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers) A notification that you want to associate with a budget.notificationsWithSubscribers(Consumer<NotificationWithSubscribers.Builder>... notificationsWithSubscribers) A notification that you want to associate with a budget.notificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers) A notification that you want to associate with a budget.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceTags(Collection<ResourceTag> resourceTags) An optional list of tags to associate with the specified budget.resourceTags(Consumer<ResourceTag.Builder>... resourceTags) An optional list of tags to associate with the specified budget.resourceTags(ResourceTag... resourceTags) An optional list of tags to associate with the specified budget.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
accountIdThe accountIdthat is associated with the budget.- Parameters:
- accountId- The- accountIdthat is associated with the budget.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
budgetThe 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.
 
- 
budgetThe budget object that you want to create. This is a convenience method that creates an instance of theBudget.Builderavoiding the need to create one manually viaBudget.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobudget(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:
 
- 
notificationsWithSubscribersCreateBudgetRequest.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 CreateBudgetcall, 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- CreateBudgetcall, 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.
 
- 
notificationsWithSubscribersCreateBudgetRequest.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 CreateBudgetcall, 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- CreateBudgetcall, 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.
 
- 
notificationsWithSubscribersCreateBudgetRequest.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 This is a convenience method that creates an instance of theCreateBudgetcall, Amazon Web Services creates the notifications and subscribers for you.NotificationWithSubscribers.Builderavoiding the need to create one manually viaNotificationWithSubscribers.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationsWithSubscribers(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:
 
- 
resourceTagsAn 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.
 
- 
resourceTagsAn 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.
 
- 
resourceTagsAn 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 theResourceTag.Builderavoiding the need to create one manually viaResourceTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceTags(List<ResourceTag>).- 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:
 
- 
overrideConfigurationCreateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-