public static interface CreateSubscriberRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateSubscriberRequest.Builder,CreateSubscriberRequest>
Modifier and Type | Method and Description |
---|---|
CreateSubscriberRequest.Builder |
accountId(String accountId)
The
accountId that is associated with the budget that you want to create a subscriber for. |
CreateSubscriberRequest.Builder |
budgetName(String budgetName)
The name of the budget that you want to subscribe to.
|
default CreateSubscriberRequest.Builder |
notification(Consumer<Notification.Builder> notification)
The notification that you want to create a subscriber for.
|
CreateSubscriberRequest.Builder |
notification(Notification notification)
The notification that you want to create a subscriber for.
|
CreateSubscriberRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateSubscriberRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateSubscriberRequest.Builder |
subscriber(Consumer<Subscriber.Builder> subscriber)
The subscriber that you want to associate with a budget notification.
|
CreateSubscriberRequest.Builder |
subscriber(Subscriber subscriber)
The subscriber that you want to associate with a budget notification.
|
build
overrideConfiguration
copy
applyMutation, build
CreateSubscriberRequest.Builder accountId(String accountId)
The accountId
that is associated with the budget that you want to create a subscriber for.
accountId
- The accountId
that is associated with the budget that you want to create a subscriber
for.CreateSubscriberRequest.Builder budgetName(String budgetName)
The name of the budget that you want to subscribe to. Budget names must be unique within an account.
budgetName
- The name of the budget that you want to subscribe to. Budget names must be unique within an account.CreateSubscriberRequest.Builder notification(Notification notification)
The notification that you want to create a subscriber for.
notification
- The notification that you want to create a subscriber for.default CreateSubscriberRequest.Builder notification(Consumer<Notification.Builder> notification)
The notification that you want to create a subscriber for.
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)
CreateSubscriberRequest.Builder subscriber(Subscriber subscriber)
The subscriber that you want to associate with a budget notification.
subscriber
- The subscriber that you want to associate with a budget notification.default CreateSubscriberRequest.Builder subscriber(Consumer<Subscriber.Builder> subscriber)
The subscriber that you want to associate 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 subscriber(Subscriber)
.subscriber
- a consumer that will call methods on Subscriber.Builder
subscriber(Subscriber)
CreateSubscriberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateSubscriberRequest.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.