Interface CreateSubscriberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BudgetsRequest.Builder
,Buildable
,CopyableBuilder<CreateSubscriberRequest.Builder,
,CreateSubscriberRequest> SdkBuilder<CreateSubscriberRequest.Builder,
,CreateSubscriberRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSubscriberRequest
public static interface CreateSubscriberRequest.Builder
extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateSubscriberRequest.Builder,CreateSubscriberRequest>
-
Method Summary
Modifier and TypeMethodDescriptionTheaccountId
that is associated with the budget that you want to create a subscriber for.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.notification
(Notification notification) The notification that you want to create a subscriber for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) 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.subscriber
(Subscriber subscriber) The subscriber that you want to associate with a budget 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, sdkFields
-
Method Details
-
accountId
The
accountId
that is associated with the budget that you want to create a subscriber for.- Parameters:
accountId
- TheaccountId
that is associated with the budget that you want to create a subscriber 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 to subscribe to. Budget names must be unique within an account.
- Parameters:
budgetName
- The name of the budget that you want to subscribe to. 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 a subscriber for.
- Parameters:
notification
- The notification that you want to create a subscriber for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
The notification that you want to create a subscriber for.
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:
-
subscriber
The subscriber that you want to associate with a budget notification.
- Parameters:
subscriber
- The subscriber that you want to associate with a budget notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriber
The subscriber that you want to associate 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 tosubscriber(Subscriber)
.- Parameters:
subscriber
- 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
CreateSubscriberRequest.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
CreateSubscriberRequest.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.
-