Interface PaymentScheduleTerm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PaymentScheduleTerm.Builder,
,PaymentScheduleTerm> SdkBuilder<PaymentScheduleTerm.Builder,
,PaymentScheduleTerm> SdkPojo
- Enclosing class:
PaymentScheduleTerm
public static interface PaymentScheduleTerm.Builder
extends SdkPojo, CopyableBuilder<PaymentScheduleTerm.Builder,PaymentScheduleTerm>
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) Defines the currency for the prices mentioned in the term.schedule
(Collection<ScheduleItem> schedule) List of the payment schedule where each element defines one installment of payment.schedule
(Consumer<ScheduleItem.Builder>... schedule) List of the payment schedule where each element defines one installment of payment.schedule
(ScheduleItem... schedule) List of the payment schedule where each element defines one installment of payment.Type of the term.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
currencyCode
Defines the currency for the prices mentioned in the term.
- Parameters:
currencyCode
- Defines the currency for the prices mentioned in the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
- Parameters:
schedule
- List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
- Parameters:
schedule
- List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
This is a convenience method that creates an instance of theScheduleItem.Builder
avoiding the need to create one manually viaScheduleItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(List<ScheduleItem>)
.- Parameters:
schedule
- a consumer that will call methods onScheduleItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of the term.
- Parameters:
type
- Type of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-