Interface PaymentInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentInput.Builder,,PaymentInput> SdkBuilder<PaymentInput.Builder,,PaymentInput> SdkPojo
- Enclosing class:
PaymentInput
@Mutable
@NotThreadSafe
public static interface PaymentInput.Builder
extends SdkPojo, CopyableBuilder<PaymentInput.Builder,PaymentInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PaymentInput.BuildercryptoX402(Consumer<CryptoX402PaymentInput.Builder> cryptoX402) Input for a crypto X402 payment.cryptoX402(CryptoX402PaymentInput cryptoX402) Input for a crypto X402 payment.default PaymentInput.BuilderSets the value of the Mpp property for this object.mpp(MppPaymentInput mpp) Sets the value of the Mpp property for this object.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
-
cryptoX402
Input for a crypto X402 payment.
- Parameters:
cryptoX402- Input for a crypto X402 payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cryptoX402
Input for a crypto X402 payment.
This is a convenience method that creates an instance of theCryptoX402PaymentInput.Builderavoiding the need to create one manually viaCryptoX402PaymentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocryptoX402(CryptoX402PaymentInput).- Parameters:
cryptoX402- a consumer that will call methods onCryptoX402PaymentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mpp
Sets the value of the Mpp property for this object.- Parameters:
mpp- The new value for the Mpp property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mpp
Sets the value of the Mpp property for this object. This is a convenience method that creates an instance of theMppPaymentInput.Builderavoiding the need to create one manually viaMppPaymentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tompp(MppPaymentInput).- Parameters:
mpp- a consumer that will call methods onMppPaymentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-