Class CfnBudget.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnBudget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudget>
- Enclosing class:
CfnBudget
@Stability(Stable)
public static final class CfnBudget.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudget>
A fluent builder for
CfnBudget.-
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 CfnBudget.Builderdescription(String description) The description of the budget.displayName(String displayName) The display name of the budget.The farm ID.schedule(IResolvable schedule) The start and end time of the budget.schedule(CfnBudget.BudgetScheduleProperty schedule) The start and end time of the budget.An array of key-value pairs to apply to this resource.usageTrackingResource(IResolvable usageTrackingResource) The usage details of the allotted budget.usageTrackingResource(CfnBudget.UsageTrackingResourceProperty usageTrackingResource) The usage details of the allotted budget.
-
Method Details
-
create
@Stability(Stable) public static CfnBudget.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBudget.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
The dollar limit based on consumed usage.- Parameters:
approximateDollarLimit- The dollar limit based on consumed usage. 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
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:
-
usageTrackingResource
@Stability(Stable) public CfnBudget.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 CfnBudget.Builder usageTrackingResource(CfnBudget.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:
-
description
The description of the budget.- Parameters:
description- The description 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:
-
build
-