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 Summary
Modifier 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
accountId
The
accountIdthat is associated with the budget.- Parameters:
 accountId- TheaccountIdthat 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 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 onBudget.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
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 yourCreateBudgetcall, 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
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 yourCreateBudgetcall, 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
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 onNotificationWithSubscribers.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.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
CreateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -