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.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:
-