public static interface UpdateSubscriberRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateSubscriberRequest.Builder,UpdateSubscriberRequest>
Modifier and Type | Method and Description |
---|---|
UpdateSubscriberRequest.Builder |
accountId(String accountId)
The
accountId that is associated with the budget whose subscriber you want to update. |
UpdateSubscriberRequest.Builder |
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.
|
UpdateSubscriberRequest.Builder |
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.
|
UpdateSubscriberRequest.Builder |
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.
|
UpdateSubscriberRequest.Builder |
oldSubscriber(Subscriber oldSubscriber)
The previous subscriber that is associated with a budget notification.
|
UpdateSubscriberRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateSubscriberRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateSubscriberRequest.Builder accountId(String accountId)
The accountId
that is associated with the budget whose subscriber you want to update.
accountId
- The accountId
that is associated with the budget whose subscriber you want to update.UpdateSubscriberRequest.Builder budgetName(String budgetName)
The name of the budget whose subscriber you want to update.
budgetName
- The name of the budget whose subscriber you want to update.UpdateSubscriberRequest.Builder notification(Notification notification)
The notification whose subscriber you want to update.
notification
- The notification whose subscriber you want to update.default UpdateSubscriberRequest.Builder notification(Consumer<Notification.Builder> notification)
The notification whose subscriber you want to update.
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)
UpdateSubscriberRequest.Builder oldSubscriber(Subscriber oldSubscriber)
The previous subscriber that is associated with a budget notification.
oldSubscriber
- The previous subscriber that is associated with a budget notification.default UpdateSubscriberRequest.Builder oldSubscriber(Consumer<Subscriber.Builder> oldSubscriber)
The previous subscriber that is associated with a budget notification.
This is a convenience that creates an instance of theSubscriber.Builder
avoiding the need to create
one manually via Subscriber.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to oldSubscriber(Subscriber)
.oldSubscriber
- a consumer that will call methods on Subscriber.Builder
oldSubscriber(Subscriber)
UpdateSubscriberRequest.Builder newSubscriber(Subscriber newSubscriber)
The updated subscriber that is associated with a budget notification.
newSubscriber
- The updated subscriber that is associated with a budget notification.default UpdateSubscriberRequest.Builder newSubscriber(Consumer<Subscriber.Builder> newSubscriber)
The updated subscriber that is associated with a budget notification.
This is a convenience that creates an instance of theSubscriber.Builder
avoiding the need to create
one manually via Subscriber.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to newSubscriber(Subscriber)
.newSubscriber
- a consumer that will call methods on Subscriber.Builder
newSubscriber(Subscriber)
UpdateSubscriberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateSubscriberRequest.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.