Class CfnBudgetsAction.Builder
java.lang.Object
software.amazon.awscdk.services.budgets.CfnBudgetsAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetsAction>
- Enclosing class:
CfnBudgetsAction
@Stability(Stable)
public static final class CfnBudgetsAction.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetsAction>
A fluent builder for
CfnBudgetsAction.-
Method Summary
Modifier and TypeMethodDescriptionactionThreshold(IResolvable actionThreshold) The trigger threshold of the action.actionThreshold(CfnBudgetsAction.ActionThresholdProperty actionThreshold) The trigger threshold of the action.actionType(String actionType) The type of action.approvalModel(String approvalModel) This specifies if the action needs manual or automatic approval.budgetName(String budgetName) A string that represents the budget name.build()static CfnBudgetsAction.Builderdefinition(IResolvable definition) Specifies all of the type-specific parameters.definition(CfnBudgetsAction.DefinitionProperty definition) Specifies all of the type-specific parameters.executionRoleArn(String executionRoleArn) The role passed for action execution and reversion.notificationType(String notificationType) The type of a notification.resourceTags(List<? extends CfnBudgetsAction.ResourceTagProperty> resourceTags) An optional list of tags to associate with the specified budget action.subscribers(List<? extends Object> subscribers) A list of subscribers.subscribers(IResolvable subscribers) A list of subscribers.
-
Method Details
-
create
@Stability(Stable) public static CfnBudgetsAction.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBudgetsAction.Builder.
-
actionThreshold
The trigger threshold of the action.- Parameters:
actionThreshold- The trigger threshold of the action. This parameter is required.- Returns:
this- See Also:
-
actionThreshold
@Stability(Stable) public CfnBudgetsAction.Builder actionThreshold(CfnBudgetsAction.ActionThresholdProperty actionThreshold) The trigger threshold of the action.- Parameters:
actionThreshold- The trigger threshold of the action. This parameter is required.- Returns:
this- See Also:
-
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 parameter is required.- Returns:
this- See Also:
-
budgetName
A string that represents the budget name.":" and "" characters aren't allowed.
- Parameters:
budgetName- A string that represents the budget name. This parameter is required.- Returns:
this- See Also:
-
definition
Specifies all of the type-specific parameters.- Parameters:
definition- Specifies all of the type-specific parameters. This parameter is required.- Returns:
this- See Also:
-
definition
@Stability(Stable) public CfnBudgetsAction.Builder definition(CfnBudgetsAction.DefinitionProperty definition) Specifies all of the type-specific parameters.- Parameters:
definition- Specifies all of the type-specific parameters. This parameter is required.- Returns:
this- 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. This parameter is required.- Returns:
this- See Also:
-
notificationType
The type of a notification.- Parameters:
notificationType- The type of a notification. This parameter is required.- Returns:
this- See Also:
-
subscribers
A list of subscribers.- Parameters:
subscribers- A list of subscribers. This parameter is required.- Returns:
this- See Also:
-
subscribers
A list of subscribers.- Parameters:
subscribers- A list of subscribers. This parameter is required.- Returns:
this- 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. This parameter is required.- Returns:
this- See Also:
-
resourceTags
@Stability(Stable) public CfnBudgetsAction.Builder resourceTags(List<? extends CfnBudgetsAction.ResourceTagProperty> 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. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetsAction>- Returns:
- a newly built instance of
CfnBudgetsAction.
-