Interface UpdateSubscriberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BudgetsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSubscriberRequest.Builder,
,UpdateSubscriberRequest> SdkBuilder<UpdateSubscriberRequest.Builder,
,UpdateSubscriberRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSubscriberRequest
-
Method Summary
Modifier and TypeMethodDescriptionTheaccountId
that is associated with the budget whose subscriber you want to update.budgetName
(String budgetName) The name of the budget whose subscriber you want to update.default UpdateSubscriberRequest.Builder
newSubscriber
(Consumer<Subscriber.Builder> newSubscriber) The updated subscriber that is associated with a budget notification.newSubscriber
(Subscriber newSubscriber) The updated subscriber that is associated with a budget notification.default UpdateSubscriberRequest.Builder
notification
(Consumer<Notification.Builder> notification) The notification whose subscriber you want to update.notification
(Notification notification) The notification whose subscriber you want to update.default UpdateSubscriberRequest.Builder
oldSubscriber
(Consumer<Subscriber.Builder> oldSubscriber) The previous subscriber that is associated with a budget notification.oldSubscriber
(Subscriber oldSubscriber) The previous subscriber that is associated with a budget notification.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
accountId
The
accountId
that is associated with the budget whose subscriber you want to update.- Parameters:
accountId
- TheaccountId
that is associated with the budget whose subscriber you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
The name of the budget whose subscriber you want to update.
- Parameters:
budgetName
- The name of the budget whose subscriber you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
The notification whose subscriber you want to update.
- Parameters:
notification
- The notification whose subscriber you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
The notification whose subscriber you want to update.
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:
-
oldSubscriber
The previous subscriber that is associated with a budget notification.
- Parameters:
oldSubscriber
- The previous subscriber that is associated with a budget notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oldSubscriber
The previous subscriber that is associated with a budget notification.
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 tooldSubscriber(Subscriber)
.- Parameters:
oldSubscriber
- 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:
-
newSubscriber
The updated subscriber that is associated with a budget notification.
- Parameters:
newSubscriber
- The updated subscriber that is associated with a budget notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newSubscriber
The updated subscriber that is associated with a budget notification.
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 tonewSubscriber(Subscriber)
.- Parameters:
newSubscriber
- 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
UpdateSubscriberRequest.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
UpdateSubscriberRequest.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.
-