Class BudgetsBudgetActionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.budgets_budget_action.BudgetsBudgetActionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BudgetsBudgetActionConfig>
- Enclosing interface:
- BudgetsBudgetActionConfig
@Stability(Stable) public static final class BudgetsBudgetActionConfig.Builder extends Object implements software.amazon.jsii.Builder<BudgetsBudgetActionConfig>
A builder forBudgetsBudgetActionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
actionThreshold
@Stability(Stable) public BudgetsBudgetActionConfig.Builder actionThreshold(BudgetsBudgetActionActionThreshold actionThreshold)
Sets the value ofBudgetsBudgetActionConfig.getActionThreshold()- Parameters:
actionThreshold- action_threshold block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#action_threshold BudgetsBudgetAction#action_threshold}- Returns:
this
-
actionType
@Stability(Stable) public BudgetsBudgetActionConfig.Builder actionType(String actionType)
Sets the value ofBudgetsBudgetActionConfig.getActionType()- Parameters:
actionType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#action_type BudgetsBudgetAction#action_type}. This parameter is required.- Returns:
this
-
approvalModel
@Stability(Stable) public BudgetsBudgetActionConfig.Builder approvalModel(String approvalModel)
Sets the value ofBudgetsBudgetActionConfig.getApprovalModel()- Parameters:
approvalModel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#approval_model BudgetsBudgetAction#approval_model}. This parameter is required.- Returns:
this
-
budgetName
@Stability(Stable) public BudgetsBudgetActionConfig.Builder budgetName(String budgetName)
Sets the value ofBudgetsBudgetActionConfig.getBudgetName()- Parameters:
budgetName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#budget_name BudgetsBudgetAction#budget_name}. This parameter is required.- Returns:
this
-
definition
@Stability(Stable) public BudgetsBudgetActionConfig.Builder definition(BudgetsBudgetActionDefinition definition)
Sets the value ofBudgetsBudgetActionConfig.getDefinition()- Parameters:
definition- definition block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#definition BudgetsBudgetAction#definition}- Returns:
this
-
executionRoleArn
@Stability(Stable) public BudgetsBudgetActionConfig.Builder executionRoleArn(String executionRoleArn)
Sets the value ofBudgetsBudgetActionConfig.getExecutionRoleArn()- Parameters:
executionRoleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#execution_role_arn BudgetsBudgetAction#execution_role_arn}. This parameter is required.- Returns:
this
-
notificationType
@Stability(Stable) public BudgetsBudgetActionConfig.Builder notificationType(String notificationType)
Sets the value ofBudgetsBudgetActionConfig.getNotificationType()- Parameters:
notificationType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#notification_type BudgetsBudgetAction#notification_type}. This parameter is required.- Returns:
this
-
subscriber
@Stability(Stable) public BudgetsBudgetActionConfig.Builder subscriber(com.hashicorp.cdktf.IResolvable subscriber)
Sets the value ofBudgetsBudgetActionConfig.getSubscriber()- Parameters:
subscriber- subscriber block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#subscriber BudgetsBudgetAction#subscriber}- Returns:
this
-
subscriber
@Stability(Stable) public BudgetsBudgetActionConfig.Builder subscriber(List<? extends BudgetsBudgetActionSubscriber> subscriber)
Sets the value ofBudgetsBudgetActionConfig.getSubscriber()- Parameters:
subscriber- subscriber block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#subscriber BudgetsBudgetAction#subscriber}- Returns:
this
-
accountId
@Stability(Stable) public BudgetsBudgetActionConfig.Builder accountId(String accountId)
Sets the value ofBudgetsBudgetActionConfig.getAccountId()- Parameters:
accountId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#account_id BudgetsBudgetAction#account_id}.- Returns:
this
-
id
@Stability(Stable) public BudgetsBudgetActionConfig.Builder id(String id)
Sets the value ofBudgetsBudgetActionConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#id BudgetsBudgetAction#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
timeouts
@Stability(Stable) public BudgetsBudgetActionConfig.Builder timeouts(BudgetsBudgetActionTimeouts timeouts)
Sets the value ofBudgetsBudgetActionConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/budgets_budget_action#timeouts BudgetsBudgetAction#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public BudgetsBudgetActionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BudgetsBudgetActionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BudgetsBudgetActionConfig>- Returns:
- a new instance of
BudgetsBudgetActionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-