Interface PaymentTokenResponseOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentTokenResponseOutput.Builder,,PaymentTokenResponseOutput> SdkBuilder<PaymentTokenResponseOutput.Builder,,PaymentTokenResponseOutput> SdkPojo
- Enclosing class:
PaymentTokenResponseOutput
@Mutable
@NotThreadSafe
public static interface PaymentTokenResponseOutput.Builder
extends SdkPojo, CopyableBuilder<PaymentTokenResponseOutput.Builder,PaymentTokenResponseOutput>
-
Method Summary
Modifier and TypeMethodDescriptioncoinbaseCdpTokenResponse(Consumer<CoinbaseCdpTokenResponseOutput.Builder> coinbaseCdpTokenResponse) The Coinbase CDP token response.coinbaseCdpTokenResponse(CoinbaseCdpTokenResponseOutput coinbaseCdpTokenResponse) The Coinbase CDP token response.stripePrivyTokenResponse(Consumer<StripePrivyTokenResponseOutput.Builder> stripePrivyTokenResponse) The Stripe Privy token response.stripePrivyTokenResponse(StripePrivyTokenResponseOutput stripePrivyTokenResponse) The Stripe Privy token response.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
-
coinbaseCdpTokenResponse
PaymentTokenResponseOutput.Builder coinbaseCdpTokenResponse(CoinbaseCdpTokenResponseOutput coinbaseCdpTokenResponse) The Coinbase CDP token response.
- Parameters:
coinbaseCdpTokenResponse- The Coinbase CDP token response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coinbaseCdpTokenResponse
default PaymentTokenResponseOutput.Builder coinbaseCdpTokenResponse(Consumer<CoinbaseCdpTokenResponseOutput.Builder> coinbaseCdpTokenResponse) The Coinbase CDP token response.
This is a convenience method that creates an instance of theCoinbaseCdpTokenResponseOutput.Builderavoiding the need to create one manually viaCoinbaseCdpTokenResponseOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoinbaseCdpTokenResponse(CoinbaseCdpTokenResponseOutput).- Parameters:
coinbaseCdpTokenResponse- a consumer that will call methods onCoinbaseCdpTokenResponseOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stripePrivyTokenResponse
PaymentTokenResponseOutput.Builder stripePrivyTokenResponse(StripePrivyTokenResponseOutput stripePrivyTokenResponse) The Stripe Privy token response.
- Parameters:
stripePrivyTokenResponse- The Stripe Privy token response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stripePrivyTokenResponse
default PaymentTokenResponseOutput.Builder stripePrivyTokenResponse(Consumer<StripePrivyTokenResponseOutput.Builder> stripePrivyTokenResponse) The Stripe Privy token response.
This is a convenience method that creates an instance of theStripePrivyTokenResponseOutput.Builderavoiding the need to create one manually viaStripePrivyTokenResponseOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostripePrivyTokenResponse(StripePrivyTokenResponseOutput).- Parameters:
stripePrivyTokenResponse- a consumer that will call methods onStripePrivyTokenResponseOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-