Interface PaymentScheduleTerm.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PaymentScheduleTerm.Builder,,- PaymentScheduleTerm> - SdkBuilder<PaymentScheduleTerm.Builder,,- PaymentScheduleTerm> - SdkPojo
- Enclosing class:
- PaymentScheduleTerm
@Mutable
@NotThreadSafe
public static interface PaymentScheduleTerm.Builder
extends SdkPojo, CopyableBuilder<PaymentScheduleTerm.Builder,PaymentScheduleTerm> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
currencyCodeDefines 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.
 
- 
scheduleList 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.
 
- 
scheduleList 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.
 
- 
scheduleList 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 toschedule(List<ScheduleItem>).- Parameters:
- schedule- a consumer that will call methods on- ScheduleItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeType of the term. - Parameters:
- type- Type of the term.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-