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 Summary
Modifier and TypeMethodDescriptioncurrencyCode(String currencyCode) Defines the currency for the prices in this term.The unique identifier of the term.schedule(Collection<ScheduleItem> schedule) The payment schedule installments, each with a charge date and amount.schedule(Consumer<ScheduleItem.Builder>... schedule) The payment schedule installments, each with a charge date and amount.schedule(ScheduleItem... schedule) The payment schedule installments, each with a charge date and amount.The category of the term.The category of the term.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier of the term.
- Parameters:
id- The unique identifier of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyCode
Defines the currency for the prices in this term.
- Parameters:
currencyCode- Defines the currency for the prices in this term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The payment schedule installments, each with a charge date and amount.
- Parameters:
schedule- The payment schedule installments, each with a charge date and amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The payment schedule installments, each with a charge date and amount.
- Parameters:
schedule- The payment schedule installments, each with a charge date and amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The payment schedule installments, each with a charge date and amount.
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 onScheduleItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-