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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PaymentScheduleTerm.BuildercurrencyCode(String currencyCode)Defines the currency for the prices mentioned in the term.PaymentScheduleTerm.Builderschedule(Collection<ScheduleItem> schedule)List of the payment schedule where each element defines one installment of payment.PaymentScheduleTerm.Builderschedule(Consumer<ScheduleItem.Builder>... schedule)List of the payment schedule where each element defines one installment of payment.PaymentScheduleTerm.Builderschedule(ScheduleItem... schedule)List of the payment schedule where each element defines one installment of payment.PaymentScheduleTerm.Buildertype(String type)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 Detail
-
currencyCode
PaymentScheduleTerm.Builder currencyCode(String 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
PaymentScheduleTerm.Builder schedule(Collection<ScheduleItem> 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
PaymentScheduleTerm.Builder schedule(ScheduleItem... 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
PaymentScheduleTerm.Builder schedule(Consumer<ScheduleItem.Builder>... 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.Builderavoiding the need to create one manually viaScheduleItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#schedule(List.) - 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:
#schedule(java.util.Collection)
-
type
PaymentScheduleTerm.Builder type(String 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.
-
-