Class CfnBudget.BudgetActionToAddProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnBudget.BudgetActionToAddProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudget.BudgetActionToAddProperty>
- Enclosing interface:
CfnBudget.BudgetActionToAddProperty
@Stability(Stable)
public static final class CfnBudget.BudgetActionToAddProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudget.BudgetActionToAddProperty>
A builder for
CfnBudget.BudgetActionToAddProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnBudget.BudgetActionToAddProperty.getDescription()thresholdPercentage(Number thresholdPercentage) Sets the value ofCfnBudget.BudgetActionToAddProperty.getThresholdPercentage()Sets the value ofCfnBudget.BudgetActionToAddProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
thresholdPercentage
@Stability(Stable) public CfnBudget.BudgetActionToAddProperty.Builder thresholdPercentage(Number thresholdPercentage) Sets the value ofCfnBudget.BudgetActionToAddProperty.getThresholdPercentage()- Parameters:
thresholdPercentage- The percentage threshold for the budget action. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnBudget.BudgetActionToAddProperty.getType()- Parameters:
type- The type of budget action. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnBudget.BudgetActionToAddProperty.Builder description(String description) Sets the value ofCfnBudget.BudgetActionToAddProperty.getDescription()- Parameters:
description- A description for the budget action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudget.BudgetActionToAddProperty>- Returns:
- a new instance of
CfnBudget.BudgetActionToAddProperty - Throws:
NullPointerException- if any required attribute was not provided
-