Interface UpdateSubscriberRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<UpdateSubscriberRequest.Builder,UpdateSubscriberRequest>,SdkBuilder<UpdateSubscriberRequest.Builder,UpdateSubscriberRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSubscriberRequest
public static interface UpdateSubscriberRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateSubscriberRequest.Builder,UpdateSubscriberRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSubscriberRequest.BuilderaccountId(String accountId)TheaccountIdthat is associated with the budget whose subscriber you want to update.UpdateSubscriberRequest.BuilderbudgetName(String budgetName)The name of the budget whose subscriber you want to update.default UpdateSubscriberRequest.BuildernewSubscriber(Consumer<Subscriber.Builder> newSubscriber)The updated subscriber that is associated with a budget notification.UpdateSubscriberRequest.BuildernewSubscriber(Subscriber newSubscriber)The updated subscriber that is associated with a budget notification.default UpdateSubscriberRequest.Buildernotification(Consumer<Notification.Builder> notification)The notification whose subscriber you want to update.UpdateSubscriberRequest.Buildernotification(Notification notification)The notification whose subscriber you want to update.default UpdateSubscriberRequest.BuilderoldSubscriber(Consumer<Subscriber.Builder> oldSubscriber)The previous subscriber that is associated with a budget notification.UpdateSubscriberRequest.BuilderoldSubscriber(Subscriber oldSubscriber)The previous subscriber that is associated with a budget notification.UpdateSubscriberRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSubscriberRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
UpdateSubscriberRequest.Builder accountId(String accountId)
The
accountIdthat is associated with the budget whose subscriber you want to update.- Parameters:
accountId- TheaccountIdthat 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
UpdateSubscriberRequest.Builder budgetName(String 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
UpdateSubscriberRequest.Builder notification(Notification 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
default UpdateSubscriberRequest.Builder notification(Consumer<Notification.Builder> notification)
The notification whose subscriber you want to update.
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)
-
oldSubscriber
UpdateSubscriberRequest.Builder oldSubscriber(Subscriber 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
default UpdateSubscriberRequest.Builder oldSubscriber(Consumer<Subscriber.Builder> oldSubscriber)
The previous subscriber that is associated with a budget notification.
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 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:
oldSubscriber(Subscriber)
-
newSubscriber
UpdateSubscriberRequest.Builder newSubscriber(Subscriber 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
default UpdateSubscriberRequest.Builder newSubscriber(Consumer<Subscriber.Builder> newSubscriber)
The updated subscriber that is associated with a budget notification.
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 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:
newSubscriber(Subscriber)
-
overrideConfiguration
UpdateSubscriberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSubscriberRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-