Interface VariablePaymentTerm.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VariablePaymentTerm.Builder,,VariablePaymentTerm> SdkBuilder<VariablePaymentTerm.Builder,,VariablePaymentTerm> SdkPojo
- Enclosing class:
VariablePaymentTerm
@Mutable
@NotThreadSafe
public static interface VariablePaymentTerm.Builder
extends SdkPojo, CopyableBuilder<VariablePaymentTerm.Builder,VariablePaymentTerm>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VariablePaymentTerm.Builderconfiguration(Consumer<VariablePaymentTermConfiguration.Builder> configuration) Additional parameters specified by the acceptor while accepting the term.configuration(VariablePaymentTermConfiguration configuration) Additional parameters specified by the acceptor while accepting the term.currencyCode(String currencyCode) Defines the currency for the prices mentioned in the term.maxTotalChargeAmount(String maxTotalChargeAmount) The maximum total amount that can be charged to the customer through variable payment requests under this term.Type 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
-
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.
-
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.
-
maxTotalChargeAmount
The maximum total amount that can be charged to the customer through variable payment requests under this term.
- Parameters:
maxTotalChargeAmount- The maximum total amount that can be charged to the customer through variable payment requests under this term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Additional parameters specified by the acceptor while accepting the term.
- Parameters:
configuration- Additional parameters specified by the acceptor while accepting the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default VariablePaymentTerm.Builder configuration(Consumer<VariablePaymentTermConfiguration.Builder> configuration) Additional parameters specified by the acceptor while accepting the term.
This is a convenience method that creates an instance of theVariablePaymentTermConfiguration.Builderavoiding the need to create one manually viaVariablePaymentTermConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(VariablePaymentTermConfiguration).- Parameters:
configuration- a consumer that will call methods onVariablePaymentTermConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-