Class CfnReservedCacheNode.RecurringChargeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnReservedCacheNode.RecurringChargeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReservedCacheNode.RecurringChargeProperty>
- Enclosing interface:
CfnReservedCacheNode.RecurringChargeProperty
@Stability(Stable)
public static final class CfnReservedCacheNode.RecurringChargeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReservedCacheNode.RecurringChargeProperty>
A builder for
CfnReservedCacheNode.RecurringChargeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recurringChargeAmount(Number recurringChargeAmount) Sets the value ofCfnReservedCacheNode.RecurringChargeProperty.getRecurringChargeAmount()recurringChargeFrequency(String recurringChargeFrequency)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recurringChargeAmount
@Stability(Stable) public CfnReservedCacheNode.RecurringChargeProperty.Builder recurringChargeAmount(Number recurringChargeAmount) Sets the value ofCfnReservedCacheNode.RecurringChargeProperty.getRecurringChargeAmount()- Parameters:
recurringChargeAmount- The monetary amount of the recurring charge.- Returns:
this
-
recurringChargeFrequency
@Stability(Stable) public CfnReservedCacheNode.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<CfnReservedCacheNode.RecurringChargeProperty>- Returns:
- a new instance of
CfnReservedCacheNode.RecurringChargeProperty - Throws:
NullPointerException- if any required attribute was not provided
-