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