public static interface CreateBudgetRequest.Builder extends BudgetsRequest.Builder, CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>
Modifier and Type | Method and Description |
---|---|
CreateBudgetRequest.Builder |
accountId(String accountId)
Sets the value of the AccountId property for this object.
|
CreateBudgetRequest.Builder |
budget(Budget budget)
Sets the value of the Budget property for this object.
|
default CreateBudgetRequest.Builder |
budget(Consumer<Budget.Builder> budget)
Sets the value of the Budget property for this object.
|
CreateBudgetRequest.Builder |
notificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)
Sets the value of the NotificationsWithSubscribers property for this object.
|
CreateBudgetRequest.Builder |
notificationsWithSubscribers(Consumer<NotificationWithSubscribers.Builder>... notificationsWithSubscribers)
Sets the value of the NotificationsWithSubscribers property for this object.
|
CreateBudgetRequest.Builder |
notificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers)
Sets the value of the NotificationsWithSubscribers property for this object.
|
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)
accountId
- The new value for the AccountId property for this object.CreateBudgetRequest.Builder budget(Budget budget)
budget
- The new value for the Budget property for this object.default CreateBudgetRequest.Builder budget(Consumer<Budget.Builder> budget)
Budget.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)
notificationsWithSubscribers
- The new value for the NotificationsWithSubscribers property for this object.CreateBudgetRequest.Builder notificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers)
notificationsWithSubscribers
- The new value for the NotificationsWithSubscribers property for this object.CreateBudgetRequest.Builder notificationsWithSubscribers(Consumer<NotificationWithSubscribers.Builder>... notificationsWithSubscribers)
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.