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) Sets the value of the CoinbaseCdpTokenResponse property for this object.coinbaseCdpTokenResponse(CoinbaseCdpTokenResponseOutput coinbaseCdpTokenResponse) Sets the value of the CoinbaseCdpTokenResponse property for this object.stripePrivyTokenResponse(Consumer<StripePrivyTokenResponseOutput.Builder> stripePrivyTokenResponse) Sets the value of the StripePrivyTokenResponse property for this object.stripePrivyTokenResponse(StripePrivyTokenResponseOutput stripePrivyTokenResponse) Sets the value of the StripePrivyTokenResponse 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
-
coinbaseCdpTokenResponse
PaymentTokenResponseOutput.Builder coinbaseCdpTokenResponse(CoinbaseCdpTokenResponseOutput coinbaseCdpTokenResponse) Sets the value of the CoinbaseCdpTokenResponse property for this object.- Parameters:
coinbaseCdpTokenResponse- The new value for the CoinbaseCdpTokenResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coinbaseCdpTokenResponse
default PaymentTokenResponseOutput.Builder coinbaseCdpTokenResponse(Consumer<CoinbaseCdpTokenResponseOutput.Builder> coinbaseCdpTokenResponse) Sets the value of the CoinbaseCdpTokenResponse property for this object. 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) Sets the value of the StripePrivyTokenResponse property for this object.- Parameters:
stripePrivyTokenResponse- The new value for the StripePrivyTokenResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stripePrivyTokenResponse
default PaymentTokenResponseOutput.Builder stripePrivyTokenResponse(Consumer<StripePrivyTokenResponseOutput.Builder> stripePrivyTokenResponse) Sets the value of the StripePrivyTokenResponse property for this object. 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:
-