Class CfnBudgetsActionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.budgets.CfnBudgetsActionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetsActionPropsMixin>
- Enclosing class:
CfnBudgetsActionPropsMixin
@Stability(Stable)
public static final class CfnBudgetsActionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetsActionPropsMixin>
A fluent builder for
CfnBudgetsActionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionactionThreshold(CfnBudgetsActionPropsMixin.ActionThresholdProperty actionThreshold) The trigger threshold of the action.actionThreshold(IResolvable 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()create()create(CfnPropertyMixinOptions options) Specifies all of the type-specific parameters.definition(IResolvable 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 CfnBudgetsActionPropsMixin.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 CfnBudgetsActionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnBudgetsActionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnBudgetsActionPropsMixin.Builder.
-
actionThreshold
@Stability(Stable) public CfnBudgetsActionPropsMixin.Builder actionThreshold(IResolvable 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 CfnBudgetsActionPropsMixin.Builder actionThreshold(CfnBudgetsActionPropsMixin.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:
-
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:
-
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 CfnBudgetsActionPropsMixin.Builder definition(CfnBudgetsActionPropsMixin.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
@Stability(Stable) public CfnBudgetsActionPropsMixin.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. This parameter is required.- Returns:
this- See Also:
-
notificationType
@Stability(Stable) public CfnBudgetsActionPropsMixin.Builder notificationType(String notificationType) The type of a notification.- Parameters:
notificationType- The type of a notification. This parameter is required.- Returns:
this- See Also:
-
resourceTags
@Stability(Stable) public CfnBudgetsActionPropsMixin.Builder resourceTags(List<? extends CfnBudgetsActionPropsMixin.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:
-
subscribers
A list of subscribers.- Parameters:
subscribers- A list of subscribers. This parameter is required.- Returns:
this- See Also:
-
subscribers
@Stability(Stable) public CfnBudgetsActionPropsMixin.Builder subscribers(List<? extends Object> subscribers) A list of subscribers.- Parameters:
subscribers- A list of subscribers. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetsActionPropsMixin>- Returns:
- a newly built instance of
CfnBudgetsActionPropsMixin.
-