public static final class CfnBudgetsAction.Builder
extends java.lang.Object
CfnBudgetsAction
.Modifier and Type | Method and Description |
---|---|
CfnBudgetsAction.Builder |
actionThreshold(CfnBudgetsAction.ActionThresholdProperty actionThreshold)
The trigger threshold of the action.
|
CfnBudgetsAction.Builder |
actionThreshold(IResolvable actionThreshold)
The trigger threshold of the action.
|
CfnBudgetsAction.Builder |
actionType(java.lang.String actionType)
The type of action.
|
CfnBudgetsAction.Builder |
approvalModel(java.lang.String approvalModel)
This specifies if the action needs manual or automatic approval.
|
CfnBudgetsAction.Builder |
budgetName(java.lang.String budgetName)
A string that represents the budget name.
|
CfnBudgetsAction |
build() |
static CfnBudgetsAction.Builder |
create(Construct scope,
java.lang.String id) |
CfnBudgetsAction.Builder |
definition(CfnBudgetsAction.DefinitionProperty definition)
Specifies all of the type-specific parameters.
|
CfnBudgetsAction.Builder |
definition(IResolvable definition)
Specifies all of the type-specific parameters.
|
CfnBudgetsAction.Builder |
executionRoleArn(java.lang.String executionRoleArn)
The role passed for action execution and reversion.
|
CfnBudgetsAction.Builder |
notificationType(java.lang.String notificationType)
The type of a notification.
|
CfnBudgetsAction.Builder |
subscribers(IResolvable subscribers)
A list of subscribers.
|
CfnBudgetsAction.Builder |
subscribers(java.util.List<? extends java.lang.Object> subscribers)
A list of subscribers.
|
public static CfnBudgetsAction.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnBudgetsAction.ActionThresholdProperty.Builder
.public CfnBudgetsAction.Builder actionThreshold(IResolvable actionThreshold)
actionThreshold
- The trigger threshold of the action. This parameter is required.this
public CfnBudgetsAction.Builder actionThreshold(CfnBudgetsAction.ActionThresholdProperty actionThreshold)
actionThreshold
- The trigger threshold of the action. This parameter is required.this
public CfnBudgetsAction.Builder actionType(java.lang.String actionType)
This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
actionType
- The type of action. This parameter is required.this
public CfnBudgetsAction.Builder budgetName(java.lang.String budgetName)
":" and "" characters aren't allowed.
budgetName
- A string that represents the budget name. This parameter is required.this
public CfnBudgetsAction.Builder definition(IResolvable definition)
definition
- Specifies all of the type-specific parameters. This parameter is required.this
public CfnBudgetsAction.Builder definition(CfnBudgetsAction.DefinitionProperty definition)
definition
- Specifies all of the type-specific parameters. This parameter is required.this
public CfnBudgetsAction.Builder executionRoleArn(java.lang.String executionRoleArn)
Roles and actions must be in the same account.
executionRoleArn
- The role passed for action execution and reversion. This parameter is required.this
public CfnBudgetsAction.Builder notificationType(java.lang.String notificationType)
notificationType
- The type of a notification. This parameter is required.this
public CfnBudgetsAction.Builder subscribers(IResolvable subscribers)
subscribers
- A list of subscribers. This parameter is required.this
public CfnBudgetsAction.Builder subscribers(java.util.List<? extends java.lang.Object> subscribers)
subscribers
- A list of subscribers. This parameter is required.this
public CfnBudgetsAction.Builder approvalModel(java.lang.String approvalModel)
approvalModel
- This specifies if the action needs manual or automatic approval. This parameter is required.this
public CfnBudgetsAction build()