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 TypeMethodDescriptionTheaccountId
that is associated with the budget.default CreateBudgetRequest.Builder
budget
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The
accountId
that is associated with the budget.- Parameters:
accountId
- TheaccountId
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 theBudget.Builder
avoiding the need to create one manually viaBudget.builder()
.When the
Consumer
completes,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
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 yourCreateBudget
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 yourCreateBudget
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
This is a convenience method that creates an instance of theCreateBudget
call, Amazon Web Services creates the notifications and subscribers for you.NotificationWithSubscribers.Builder
avoiding the need to create one manually viaNotificationWithSubscribers.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-