Class CfnSpendingLimitPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.braket.CfnSpendingLimitPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpendingLimitPropsMixin>
- Enclosing class:
CfnSpendingLimitPropsMixin
@Stability(Stable)
public static final class CfnSpendingLimitPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpendingLimitPropsMixin>
A fluent builder for
CfnSpendingLimitPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.spendingLimit(String spendingLimit) The maximum amount that can be spent on the specified device, in USD.The tags to apply to the spending limit.Defines a time range for spending limits, specifying when the limit is active.timePeriod(IResolvable timePeriod) Defines a time range for spending limits, specifying when the limit is active.
-
Method Details
-
create
@Stability(Stable) public static CfnSpendingLimitPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSpendingLimitPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSpendingLimitPropsMixin.Builder.
-
deviceArn
The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.- Parameters:
deviceArn- The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to. This parameter is required.- Returns:
this- See Also:
-
spendingLimit
The maximum amount that can be spent on the specified device, in USD.- Parameters:
spendingLimit- The maximum amount that can be spent on the specified device, in USD. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to apply to the spending limit.- Parameters:
tags- The tags to apply to the spending limit. This parameter is required.- Returns:
this- See Also:
-
timePeriod
Defines a time range for spending limits, specifying when the limit is active.- Parameters:
timePeriod- Defines a time range for spending limits, specifying when the limit is active. This parameter is required.- Returns:
this- See Also:
-
timePeriod
@Stability(Stable) public CfnSpendingLimitPropsMixin.Builder timePeriod(CfnSpendingLimitPropsMixin.TimePeriodProperty timePeriod) Defines a time range for spending limits, specifying when the limit is active.- Parameters:
timePeriod- Defines a time range for spending limits, specifying when the limit is active. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpendingLimitPropsMixin>- Returns:
- a newly built instance of
CfnSpendingLimitPropsMixin.
-