Class CfnReservedCacheNodePropsMixin.RecurringChargeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnReservedCacheNodePropsMixin.RecurringChargeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReservedCacheNodePropsMixin.RecurringChargeProperty>
- Enclosing interface:
CfnReservedCacheNodePropsMixin.RecurringChargeProperty
@Stability(Stable)
public static final class CfnReservedCacheNodePropsMixin.RecurringChargeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReservedCacheNodePropsMixin.RecurringChargeProperty>
A builder for
CfnReservedCacheNodePropsMixin.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 CfnReservedCacheNodePropsMixin.RecurringChargeProperty.Builder recurringChargeAmount(Number recurringChargeAmount) - Parameters:
recurringChargeAmount- The monetary amount of the recurring charge.- Returns:
this
-
recurringChargeFrequency
@Stability(Stable) public CfnReservedCacheNodePropsMixin.RecurringChargeProperty.Builder recurringChargeFrequency(String recurringChargeFrequency) Sets the value ofCfnReservedCacheNodePropsMixin.RecurringChargeProperty.getRecurringChargeFrequency()- Parameters:
recurringChargeFrequency- The frequency of the recurring charge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReservedCacheNodePropsMixin.RecurringChargeProperty>- Returns:
- a new instance of
CfnReservedCacheNodePropsMixin.RecurringChargeProperty - Throws:
NullPointerException- if any required attribute was not provided
-