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