public static interface RecurringCharge.Builder extends CopyableBuilder<RecurringCharge.Builder,RecurringCharge>
| Modifier and Type | Method and Description |
|---|---|
default RecurringCharge.Builder |
cost(Consumer<MonetaryAmount.Builder> cost)
The cost of the recurring charge.
|
RecurringCharge.Builder |
cost(MonetaryAmount cost)
The cost of the recurring charge.
|
RecurringCharge.Builder |
frequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
|
RecurringCharge.Builder |
frequency(String frequency)
The frequency in which charges will recur.
|
copyapply, buildRecurringCharge.Builder cost(MonetaryAmount cost)
The cost of the recurring charge.
cost - The cost of the recurring charge.default RecurringCharge.Builder cost(Consumer<MonetaryAmount.Builder> cost)
The cost of the recurring charge.
This is a convenience that creates an instance of theMonetaryAmount.Builder avoiding the need to
create one manually via MonetaryAmount.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to cost(MonetaryAmount).cost - a consumer that will call methods on MonetaryAmount.Buildercost(MonetaryAmount)RecurringCharge.Builder frequency(String frequency)
The frequency in which charges will recur.
frequency - The frequency in which charges will recur.RecurringChargeFrequency,
RecurringChargeFrequencyRecurringCharge.Builder frequency(RecurringChargeFrequency frequency)
The frequency in which charges will recur.
frequency - The frequency in which charges will recur.RecurringChargeFrequency,
RecurringChargeFrequencyCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.