Interface CreateBudgetActionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<CreateBudgetActionRequest.Builder,CreateBudgetActionRequest>,SdkBuilder<CreateBudgetActionRequest.Builder,CreateBudgetActionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBudgetActionRequest
public static interface CreateBudgetActionRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateBudgetActionRequest.Builder,CreateBudgetActionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBudgetActionRequest.BuilderaccountId(String accountId)Sets the value of the AccountId property for this object.default CreateBudgetActionRequest.BuilderactionThreshold(Consumer<ActionThreshold.Builder> actionThreshold)Sets the value of the ActionThreshold property for this object.CreateBudgetActionRequest.BuilderactionThreshold(ActionThreshold actionThreshold)Sets the value of the ActionThreshold property for this object.CreateBudgetActionRequest.BuilderactionType(String actionType)The type of action.CreateBudgetActionRequest.BuilderactionType(ActionType actionType)The type of action.CreateBudgetActionRequest.BuilderapprovalModel(String approvalModel)This specifies if the action needs manual or automatic approval.CreateBudgetActionRequest.BuilderapprovalModel(ApprovalModel approvalModel)This specifies if the action needs manual or automatic approval.CreateBudgetActionRequest.BuilderbudgetName(String budgetName)Sets the value of the BudgetName property for this object.default CreateBudgetActionRequest.Builderdefinition(Consumer<Definition.Builder> definition)Sets the value of the Definition property for this object.CreateBudgetActionRequest.Builderdefinition(Definition definition)Sets the value of the Definition property for this object.CreateBudgetActionRequest.BuilderexecutionRoleArn(String executionRoleArn)The role passed for action execution and reversion.CreateBudgetActionRequest.BuildernotificationType(String notificationType)Sets the value of the NotificationType property for this object.CreateBudgetActionRequest.BuildernotificationType(NotificationType notificationType)Sets the value of the NotificationType property for this object.CreateBudgetActionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBudgetActionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBudgetActionRequest.BuilderresourceTags(Collection<ResourceTag> resourceTags)An optional list of tags to associate with the specified budget action.CreateBudgetActionRequest.BuilderresourceTags(Consumer<ResourceTag.Builder>... resourceTags)An optional list of tags to associate with the specified budget action.CreateBudgetActionRequest.BuilderresourceTags(ResourceTag... resourceTags)An optional list of tags to associate with the specified budget action.CreateBudgetActionRequest.Buildersubscribers(Collection<Subscriber> subscribers)Sets the value of the Subscribers property for this object.CreateBudgetActionRequest.Buildersubscribers(Consumer<Subscriber.Builder>... subscribers)Sets the value of the Subscribers property for this object.CreateBudgetActionRequest.Buildersubscribers(Subscriber... subscribers)Sets the value of the Subscribers property for this object.-
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
CreateBudgetActionRequest.Builder accountId(String 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
CreateBudgetActionRequest.Builder budgetName(String 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.
-
notificationType
CreateBudgetActionRequest.Builder notificationType(String 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,NotificationType
-
notificationType
CreateBudgetActionRequest.Builder notificationType(NotificationType 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,NotificationType
-
actionType
CreateBudgetActionRequest.Builder actionType(String actionType)
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
- Parameters:
actionType- The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionType,ActionType
-
actionType
CreateBudgetActionRequest.Builder actionType(ActionType actionType)
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
- Parameters:
actionType- The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionType,ActionType
-
actionThreshold
CreateBudgetActionRequest.Builder actionThreshold(ActionThreshold 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 CreateBudgetActionRequest.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:
actionThreshold(ActionThreshold)
-
definition
CreateBudgetActionRequest.Builder definition(Definition 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
default CreateBudgetActionRequest.Builder definition(Consumer<Definition.Builder> 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:
definition(Definition)
-
executionRoleArn
CreateBudgetActionRequest.Builder executionRoleArn(String 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
CreateBudgetActionRequest.Builder approvalModel(String 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,ApprovalModel
-
approvalModel
CreateBudgetActionRequest.Builder approvalModel(ApprovalModel 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,ApprovalModel
-
subscribers
CreateBudgetActionRequest.Builder subscribers(Collection<Subscriber> 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
CreateBudgetActionRequest.Builder subscribers(Subscriber... 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
CreateBudgetActionRequest.Builder subscribers(Consumer<Subscriber.Builder>... 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 to#subscribers(List.) - 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:
#subscribers(java.util.Collection)
-
resourceTags
CreateBudgetActionRequest.Builder resourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.
- Parameters:
resourceTags- An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
CreateBudgetActionRequest.Builder resourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.
- Parameters:
resourceTags- An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
CreateBudgetActionRequest.Builder resourceTags(Consumer<ResourceTag.Builder>... resourceTags)
An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.
This is a convenience method that creates an instance of theResourceTag.Builderavoiding the need to create one manually viaResourceTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceTags(List.) - Parameters:
resourceTags- a consumer that will call methods onResourceTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceTags(java.util.Collection)
-
overrideConfiguration
CreateBudgetActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBudgetActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-