Interface CreateNotificationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<CreateNotificationRequest.Builder,CreateNotificationRequest>,SdkBuilder<CreateNotificationRequest.Builder,CreateNotificationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateNotificationRequest
public static interface CreateNotificationRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateNotificationRequest.Builder,CreateNotificationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateNotificationRequest.BuilderaccountId(String accountId)TheaccountIdthat is associated with the budget that you want to create a notification for.CreateNotificationRequest.BuilderbudgetName(String budgetName)The name of the budget that you want Amazon Web Services to notify you about.default CreateNotificationRequest.Buildernotification(Consumer<Notification.Builder> notification)The notification that you want to create.CreateNotificationRequest.Buildernotification(Notification notification)The notification that you want to create.CreateNotificationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateNotificationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateNotificationRequest.Buildersubscribers(Collection<Subscriber> subscribers)A list of subscribers that you want to associate with the notification.CreateNotificationRequest.Buildersubscribers(Consumer<Subscriber.Builder>... subscribers)A list of subscribers that you want to associate with the notification.CreateNotificationRequest.Buildersubscribers(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
CreateNotificationRequest.Builder accountId(String 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
CreateNotificationRequest.Builder budgetName(String 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
CreateNotificationRequest.Builder notification(Notification 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
default CreateNotificationRequest.Builder notification(Consumer<Notification.Builder> 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:
notification(Notification)
-
subscribers
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.
- 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
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.
- 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
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 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 to#subscribers(List.) - 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:
#subscribers(java.util.Collection)
-
overrideConfiguration
CreateNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-