public static interface CreateNotificationRequest.Builder extends BudgetsRequest.Builder, CopyableBuilder<CreateNotificationRequest.Builder,CreateNotificationRequest>
Modifier and Type | Method and Description |
---|---|
CreateNotificationRequest.Builder |
accountId(String accountId)
Sets the value of the AccountId property for this object.
|
CreateNotificationRequest.Builder |
budgetName(String budgetName)
Sets the value of the BudgetName property for this object.
|
default CreateNotificationRequest.Builder |
notification(Consumer<Notification.Builder> notification)
Sets the value of the Notification property for this object.
|
CreateNotificationRequest.Builder |
notification(Notification notification)
Sets the value of the Notification property for this object.
|
CreateNotificationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateNotificationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateNotificationRequest.Builder |
subscribers(Collection<Subscriber> subscribers)
Sets the value of the Subscribers property for this object.
|
CreateNotificationRequest.Builder |
subscribers(Consumer<Subscriber.Builder>... subscribers)
Sets the value of the Subscribers property for this object.
|
CreateNotificationRequest.Builder |
subscribers(Subscriber... subscribers)
Sets the value of the Subscribers property for this object.
|
build
overrideConfiguration
copy
applyMutation, build
CreateNotificationRequest.Builder accountId(String accountId)
accountId
- The new value for the AccountId property for this object.CreateNotificationRequest.Builder budgetName(String budgetName)
budgetName
- The new value for the BudgetName property for this object.CreateNotificationRequest.Builder notification(Notification notification)
notification
- The new value for the Notification property for this object.default CreateNotificationRequest.Builder notification(Consumer<Notification.Builder> notification)
Notification.Builder
avoiding the need to
create one manually via Notification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to notification(Notification)
.notification
- a consumer that will call methods on Notification.Builder
notification(Notification)
CreateNotificationRequest.Builder subscribers(Collection<Subscriber> subscribers)
subscribers
- The new value for the Subscribers property for this object.CreateNotificationRequest.Builder subscribers(Subscriber... subscribers)
subscribers
- The new value for the Subscribers property for this object.CreateNotificationRequest.Builder subscribers(Consumer<Subscriber.Builder>... subscribers)
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 #subscribers(List)
.subscribers
- a consumer that will call methods on List.Builder
#subscribers(List)
CreateNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateNotificationRequest.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.