Class CfnBudgetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.deadline.CfnBudgetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetPropsMixin>
- Enclosing class:
CfnBudgetPropsMixin
@Stability(Stable)
public static final class CfnBudgetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetPropsMixin>
A fluent builder for
CfnBudgetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe budget actions to specify what happens when the budget runs out.actions(IResolvable actions) The budget actions to specify what happens when the budget runs out.approximateDollarLimit(Number approximateDollarLimit) The dollar limit based on consumed usage.build()static CfnBudgetPropsMixin.Buildercreate()static CfnBudgetPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) The description of the budget.displayName(String displayName) The display name of the budget.The farm ID.The start and end time of the budget.schedule(IResolvable schedule) The start and end time of the budget.An array of key-value pairs to apply to this resource.usageTrackingResource(CfnBudgetPropsMixin.UsageTrackingResourceProperty usageTrackingResource) The usage details of the allotted budget.usageTrackingResource(IResolvable usageTrackingResource) The usage details of the allotted budget.
-
Method Details
-
create
@Stability(Stable) public static CfnBudgetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnBudgetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnBudgetPropsMixin.Builder.
-
actions
The budget actions to specify what happens when the budget runs out.- Parameters:
actions- The budget actions to specify what happens when the budget runs out. This parameter is required.- Returns:
this- See Also:
-
actions
The budget actions to specify what happens when the budget runs out.- Parameters:
actions- The budget actions to specify what happens when the budget runs out. This parameter is required.- Returns:
this- See Also:
-
approximateDollarLimit
@Stability(Stable) public CfnBudgetPropsMixin.Builder approximateDollarLimit(Number approximateDollarLimit) The dollar limit based on consumed usage.- Parameters:
approximateDollarLimit- The dollar limit based on consumed usage. This parameter is required.- Returns:
this- See Also:
-
description
The description of the budget.- Parameters:
description- The description of the budget. This parameter is required.- Returns:
this- See Also:
-
displayName
The display name of the budget.- Parameters:
displayName- The display name of the budget. This parameter is required.- Returns:
this- See Also:
-
farmId
The farm ID.- Parameters:
farmId- The farm ID. This parameter is required.- Returns:
this- See Also:
-
schedule
The start and end time of the budget.- Parameters:
schedule- The start and end time of the budget. This parameter is required.- Returns:
this- See Also:
-
schedule
@Stability(Stable) public CfnBudgetPropsMixin.Builder schedule(CfnBudgetPropsMixin.BudgetScheduleProperty schedule) The start and end time of the budget.- Parameters:
schedule- The start and end time of the budget. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
usageTrackingResource
@Stability(Stable) public CfnBudgetPropsMixin.Builder usageTrackingResource(IResolvable usageTrackingResource) The usage details of the allotted budget.- Parameters:
usageTrackingResource- The usage details of the allotted budget. This parameter is required.- Returns:
this- See Also:
-
usageTrackingResource
@Stability(Stable) public CfnBudgetPropsMixin.Builder usageTrackingResource(CfnBudgetPropsMixin.UsageTrackingResourceProperty usageTrackingResource) The usage details of the allotted budget.- Parameters:
usageTrackingResource- The usage details of the allotted budget. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetPropsMixin>- Returns:
- a newly built instance of
CfnBudgetPropsMixin.
-