Interface CreateNotificationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BudgetsRequest.Builder
,Buildable
,CopyableBuilder<CreateNotificationRequest.Builder,
,CreateNotificationRequest> SdkBuilder<CreateNotificationRequest.Builder,
,CreateNotificationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateNotificationRequest
-
Method Summary
Modifier and TypeMethodDescriptionTheaccountId
that is associated with the budget that you want to create a notification for.budgetName
(String budgetName) The name of the budget that you want Amazon Web Services to notify you about.notification
(Consumer<Notification.Builder> notification) The notification that you want to create.notification
(Notification notification) The notification that you want to create.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subscribers
(Collection<Subscriber> subscribers) A list of subscribers that you want to associate with the notification.subscribers
(Consumer<Subscriber.Builder>... subscribers) A list of subscribers that you want to associate with the notification.subscribers
(Subscriber... subscribers) A list of subscribers that you want to associate with the notification.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 Details
-
accountId
The
accountId
that is associated with the budget that you want to create a notification for.- Parameters:
accountId
- TheaccountId
that is associated with the budget that you want to create a notification for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account.
- Parameters:
budgetName
- The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
The notification that you want to create.
- Parameters:
notification
- The notification that you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
The notification that you want to create.
This is a convenience method that creates an instance of theNotification.Builder
avoiding the need to create one manually viaNotification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotification(Notification)
.- Parameters:
notification
- a consumer that will call methods onNotification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theSubscriber.Builder
avoiding the need to create one manually viaSubscriber.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscribers(List<Subscriber>)
.- Parameters:
subscribers
- a consumer that will call methods onSubscriber.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-