Interface CreateBudgetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>,SdkBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBudgetRequest
public static interface CreateBudgetRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>
-
-
Method Summary
-
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 Detail
-
accountId
CreateBudgetRequest.Builder accountId(String 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
CreateBudgetRequest.Builder budget(Budget 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
default CreateBudgetRequest.Builder budget(Consumer<Budget.Builder> 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:
budget(Budget)
-
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 to#notificationsWithSubscribers(List.) - 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:
#notificationsWithSubscribers(java.util.Collection)
-
overrideConfiguration
CreateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-