public static interface CreateNotificationRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateNotificationRequest.Builder,CreateNotificationRequest>
Modifier and Type | Method and Description |
---|---|
CreateNotificationRequest.Builder |
accountId(String accountId)
The
accountId that is associated with the budget that you want to create a notification for. |
CreateNotificationRequest.Builder |
budgetName(String budgetName)
The name of the budget that you want AWS to notify you about.
|
default CreateNotificationRequest.Builder |
notification(Consumer<Notification.Builder> notification)
The notification that you want to create.
|
CreateNotificationRequest.Builder |
notification(Notification notification)
The notification that you want to create.
|
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)
A list of subscribers that you want to associate with the notification.
|
CreateNotificationRequest.Builder |
subscribers(Consumer<Subscriber.Builder>... subscribers)
A list of subscribers that you want to associate with the notification.
|
CreateNotificationRequest.Builder |
subscribers(Subscriber... subscribers)
A list of subscribers that you want to associate with the notification.
|
build
overrideConfiguration
copy
applyMutation, build
CreateNotificationRequest.Builder accountId(String accountId)
The accountId
that is associated with the budget that you want to create a notification for.
accountId
- The accountId
that is associated with the budget that you want to create a notification
for.CreateNotificationRequest.Builder budgetName(String budgetName)
The name of the budget that you want AWS to notify you about. Budget names must be unique within an account.
budgetName
- The name of the budget that you want AWS to notify you about. Budget names must be unique within an
account.CreateNotificationRequest.Builder notification(Notification notification)
The notification that you want to create.
notification
- The notification that you want to create.default CreateNotificationRequest.Builder notification(Consumer<Notification.Builder> notification)
The notification that you want to create.
This is a convenience that creates an instance of theNotification.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)
A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
subscribers
- A list of subscribers that you want to associate with the notification. Each notification can have one
SNS subscriber and up to 10 email subscribers.CreateNotificationRequest.Builder subscribers(Subscriber... subscribers)
A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
subscribers
- A list of subscribers that you want to associate with the notification. Each notification can have one
SNS subscriber and up to 10 email subscribers.CreateNotificationRequest.Builder subscribers(Consumer<Subscriber.Builder>... subscribers)
A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
This is a convenience that creates an instance of theList.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.