Interface CryptoConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CryptoConfig.Builder,,CryptoConfig> SdkBuilder<CryptoConfig.Builder,,CryptoConfig> SdkPojo
- Enclosing class:
CryptoConfig
-
Method Summary
Modifier and TypeMethodDescriptionpaymentNetworks(Collection<PaymentNetwork> paymentNetworks) The blockchain payment networks configured to receive payments.paymentNetworks(Consumer<PaymentNetwork.Builder>... paymentNetworks) The blockchain payment networks configured to receive payments.paymentNetworks(PaymentNetwork... paymentNetworks) The blockchain payment networks configured to receive payments.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
-
paymentNetworks
The blockchain payment networks configured to receive payments. You can specify 1 to 2 networks. All networks must be in the same environment-either all production networks (Base, Solana) or all test networks (Base Sepolia, Solana Devnet).
- Parameters:
paymentNetworks- The blockchain payment networks configured to receive payments. You can specify 1 to 2 networks. All networks must be in the same environment-either all production networks (Base, Solana) or all test networks (Base Sepolia, Solana Devnet).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentNetworks
The blockchain payment networks configured to receive payments. You can specify 1 to 2 networks. All networks must be in the same environment-either all production networks (Base, Solana) or all test networks (Base Sepolia, Solana Devnet).
- Parameters:
paymentNetworks- The blockchain payment networks configured to receive payments. You can specify 1 to 2 networks. All networks must be in the same environment-either all production networks (Base, Solana) or all test networks (Base Sepolia, Solana Devnet).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentNetworks
The blockchain payment networks configured to receive payments. You can specify 1 to 2 networks. All networks must be in the same environment-either all production networks (Base, Solana) or all test networks (Base Sepolia, Solana Devnet).
This is a convenience method that creates an instance of thePaymentNetwork.Builderavoiding the need to create one manually viaPaymentNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentNetworks(List<PaymentNetwork>).- Parameters:
paymentNetworks- a consumer that will call methods onPaymentNetwork.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-