public static interface CreateBudgetRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>
Modifier and Type | Method and Description |
---|---|
CreateBudgetRequest.Builder |
accountId(String accountId)
The
accountId that is associated with the budget. |
CreateBudgetRequest.Builder |
budget(Budget budget)
The budget object that you want to create.
|
default CreateBudgetRequest.Builder |
budget(Consumer<Budget.Builder> budget)
The budget object that you want to create.
|
CreateBudgetRequest.Builder |
notificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)
A notification that you want to associate with a budget.
|
CreateBudgetRequest.Builder |
notificationsWithSubscribers(Consumer<NotificationWithSubscribers.Builder>... notificationsWithSubscribers)
A notification that you want to associate with a budget.
|
CreateBudgetRequest.Builder |
notificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers)
A notification that you want to associate with a budget.
|
CreateBudgetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateBudgetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateBudgetRequest.Builder accountId(String accountId)
The accountId
that is associated with the budget.
accountId
- The accountId
that is associated with the budget.CreateBudgetRequest.Builder budget(Budget budget)
The budget object that you want to create.
budget
- The budget object that you want to create.default CreateBudgetRequest.Builder budget(Consumer<Budget.Builder> budget)
The budget object that you want to create.
This is a convenience that creates an instance of theBudget.Builder
avoiding the need to create one
manually via Budget.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to budget(Budget)
.budget
- a consumer that will call methods on Budget.Builder
budget(Budget)
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, AWS creates the notifications and subscribers for you.
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.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, AWS creates the notifications and subscribers for you.
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.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 CreateBudget
call, AWS creates the notifications and subscribers for you.
List.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #notificationsWithSubscribers(List)
.notificationsWithSubscribers
- a consumer that will call methods on List.Builder
#notificationsWithSubscribers(List)
CreateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.