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 TypeMethodDescriptionTheaccountIdthat 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
accountId
The
accountIdthat is associated with the budget that you want to create a notification for.- Parameters:
 accountId- TheaccountIdthat 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.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSubscriber.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -