Class CfnReservedNodePropsMixin.RecurringChargeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.memorydb.CfnReservedNodePropsMixin.RecurringChargeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReservedNodePropsMixin.RecurringChargeProperty>
- Enclosing interface:
CfnReservedNodePropsMixin.RecurringChargeProperty
@Stability(Stable)
public static final class CfnReservedNodePropsMixin.RecurringChargeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReservedNodePropsMixin.RecurringChargeProperty>
A builder for
CfnReservedNodePropsMixin.RecurringChargeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recurringChargeAmount(Number recurringChargeAmount) recurringChargeFrequency(String recurringChargeFrequency)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recurringChargeAmount
@Stability(Stable) public CfnReservedNodePropsMixin.RecurringChargeProperty.Builder recurringChargeAmount(Number recurringChargeAmount) - Parameters:
recurringChargeAmount- The amount of the recurring charge.- Returns:
this
-
recurringChargeFrequency
@Stability(Stable) public CfnReservedNodePropsMixin.RecurringChargeProperty.Builder recurringChargeFrequency(String recurringChargeFrequency) - Parameters:
recurringChargeFrequency- The frequency of the recurring charge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReservedNodePropsMixin.RecurringChargeProperty>- Returns:
- a new instance of
CfnReservedNodePropsMixin.RecurringChargeProperty - Throws:
NullPointerException- if any required attribute was not provided
-