Interface UpdateBudgetActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<UpdateBudgetActionRequest.Builder,,UpdateBudgetActionRequest> SdkBuilder<UpdateBudgetActionRequest.Builder,,UpdateBudgetActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBudgetActionRequest
@Mutable
@NotThreadSafe
public static interface UpdateBudgetActionRequest.Builder
extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateBudgetActionRequest.Builder,UpdateBudgetActionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the AccountId property for this object.A system-generated universally unique identifier (UUID) for the action.actionThreshold(Consumer<ActionThreshold.Builder> actionThreshold) Sets the value of the ActionThreshold property for this object.actionThreshold(ActionThreshold actionThreshold) Sets the value of the ActionThreshold property for this object.approvalModel(String approvalModel) This specifies if the action needs manual or automatic approval.approvalModel(ApprovalModel approvalModel) This specifies if the action needs manual or automatic approval.budgetName(String budgetName) Sets the value of the BudgetName property for this object.definition(Consumer<Definition.Builder> definition) Sets the value of the Definition property for this object.definition(Definition definition) Sets the value of the Definition property for this object.executionRoleArn(String executionRoleArn) The role passed for action execution and reversion.notificationType(String notificationType) Sets the value of the NotificationType property for this object.notificationType(NotificationType notificationType) Sets the value of the NotificationType property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subscribers(Collection<Subscriber> subscribers) Sets the value of the Subscribers property for this object.subscribers(Consumer<Subscriber.Builder>... subscribers) Sets the value of the Subscribers property for this object.subscribers(Subscriber... subscribers) Sets the value of the Subscribers property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
Sets the value of the AccountId property for this object.- Parameters:
accountId- The new value for the AccountId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
Sets the value of the BudgetName property for this object.- Parameters:
budgetName- The new value for the BudgetName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionId
A system-generated universally unique identifier (UUID) for the action.
- Parameters:
actionId- A system-generated universally unique identifier (UUID) for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationType
Sets the value of the NotificationType property for this object.- Parameters:
notificationType- The new value for the NotificationType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notificationType
Sets the value of the NotificationType property for this object.- Parameters:
notificationType- The new value for the NotificationType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionThreshold
Sets the value of the ActionThreshold property for this object.- Parameters:
actionThreshold- The new value for the ActionThreshold property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionThreshold
default UpdateBudgetActionRequest.Builder actionThreshold(Consumer<ActionThreshold.Builder> actionThreshold) Sets the value of the ActionThreshold property for this object. This is a convenience method that creates an instance of theActionThreshold.Builderavoiding the need to create one manually viaActionThreshold.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionThreshold(ActionThreshold).- Parameters:
actionThreshold- a consumer that will call methods onActionThreshold.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definition
Sets the value of the Definition property for this object.- Parameters:
definition- The new value for the Definition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Sets the value of the Definition property for this object. This is a convenience method that creates an instance of theDefinition.Builderavoiding the need to create one manually viaDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(Definition).- Parameters:
definition- a consumer that will call methods onDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRoleArn
The role passed for action execution and reversion. Roles and actions must be in the same account.
- Parameters:
executionRoleArn- The role passed for action execution and reversion. Roles and actions must be in the same account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalModel
This specifies if the action needs manual or automatic approval.
- Parameters:
approvalModel- This specifies if the action needs manual or automatic approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approvalModel
This specifies if the action needs manual or automatic approval.
- Parameters:
approvalModel- This specifies if the action needs manual or automatic approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscribers
Sets the value of the Subscribers property for this object.- Parameters:
subscribers- The new value for the Subscribers property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
Sets the value of the Subscribers property for this object.- Parameters:
subscribers- The new value for the Subscribers property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
Sets the value of the Subscribers property for this object. 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 tosubscribers(List<Subscriber>).- Parameters:
subscribers- 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
UpdateBudgetActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBudgetActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-