Interface PaymentInstrumentDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentInstrumentDetails.Builder,,PaymentInstrumentDetails> SdkBuilder<PaymentInstrumentDetails.Builder,,PaymentInstrumentDetails> SdkPojo
- Enclosing class:
PaymentInstrumentDetails
@Mutable
@NotThreadSafe
public static interface PaymentInstrumentDetails.Builder
extends SdkPojo, CopyableBuilder<PaymentInstrumentDetails.Builder,PaymentInstrumentDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PaymentInstrumentDetails.BuilderembeddedCryptoWallet(Consumer<EmbeddedCryptoWallet.Builder> embeddedCryptoWallet) Embedded crypto wallet managed directly by end userembeddedCryptoWallet(EmbeddedCryptoWallet embeddedCryptoWallet) Embedded crypto wallet managed directly by end userMethods 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
-
embeddedCryptoWallet
Embedded crypto wallet managed directly by end user
- Parameters:
embeddedCryptoWallet- Embedded crypto wallet managed directly by end user- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
embeddedCryptoWallet
default PaymentInstrumentDetails.Builder embeddedCryptoWallet(Consumer<EmbeddedCryptoWallet.Builder> embeddedCryptoWallet) Embedded crypto wallet managed directly by end user
This is a convenience method that creates an instance of theEmbeddedCryptoWallet.Builderavoiding the need to create one manually viaEmbeddedCryptoWallet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toembeddedCryptoWallet(EmbeddedCryptoWallet).- Parameters:
embeddedCryptoWallet- a consumer that will call methods onEmbeddedCryptoWallet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-