Interface PaymentTokenRequestInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentTokenRequestInput.Builder,,PaymentTokenRequestInput> SdkBuilder<PaymentTokenRequestInput.Builder,,PaymentTokenRequestInput> SdkPojo
- Enclosing class:
PaymentTokenRequestInput
@Mutable
@NotThreadSafe
public static interface PaymentTokenRequestInput.Builder
extends SdkPojo, CopyableBuilder<PaymentTokenRequestInput.Builder,PaymentTokenRequestInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PaymentTokenRequestInput.BuildercoinbaseCdpTokenRequest(Consumer<CoinbaseCdpTokenRequestInput.Builder> coinbaseCdpTokenRequest) Sets the value of the CoinbaseCdpTokenRequest property for this object.coinbaseCdpTokenRequest(CoinbaseCdpTokenRequestInput coinbaseCdpTokenRequest) Sets the value of the CoinbaseCdpTokenRequest property for this object.default PaymentTokenRequestInput.BuilderstripePrivyTokenRequest(Consumer<StripePrivyTokenRequestInput.Builder> stripePrivyTokenRequest) Sets the value of the StripePrivyTokenRequest property for this object.stripePrivyTokenRequest(StripePrivyTokenRequestInput stripePrivyTokenRequest) Sets the value of the StripePrivyTokenRequest 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
-
coinbaseCdpTokenRequest
PaymentTokenRequestInput.Builder coinbaseCdpTokenRequest(CoinbaseCdpTokenRequestInput coinbaseCdpTokenRequest) Sets the value of the CoinbaseCdpTokenRequest property for this object.- Parameters:
coinbaseCdpTokenRequest- The new value for the CoinbaseCdpTokenRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coinbaseCdpTokenRequest
default PaymentTokenRequestInput.Builder coinbaseCdpTokenRequest(Consumer<CoinbaseCdpTokenRequestInput.Builder> coinbaseCdpTokenRequest) Sets the value of the CoinbaseCdpTokenRequest property for this object. This is a convenience method that creates an instance of theCoinbaseCdpTokenRequestInput.Builderavoiding the need to create one manually viaCoinbaseCdpTokenRequestInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoinbaseCdpTokenRequest(CoinbaseCdpTokenRequestInput).- Parameters:
coinbaseCdpTokenRequest- a consumer that will call methods onCoinbaseCdpTokenRequestInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stripePrivyTokenRequest
PaymentTokenRequestInput.Builder stripePrivyTokenRequest(StripePrivyTokenRequestInput stripePrivyTokenRequest) Sets the value of the StripePrivyTokenRequest property for this object.- Parameters:
stripePrivyTokenRequest- The new value for the StripePrivyTokenRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stripePrivyTokenRequest
default PaymentTokenRequestInput.Builder stripePrivyTokenRequest(Consumer<StripePrivyTokenRequestInput.Builder> stripePrivyTokenRequest) Sets the value of the StripePrivyTokenRequest property for this object. This is a convenience method that creates an instance of theStripePrivyTokenRequestInput.Builderavoiding the need to create one manually viaStripePrivyTokenRequestInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostripePrivyTokenRequest(StripePrivyTokenRequestInput).- Parameters:
stripePrivyTokenRequest- a consumer that will call methods onStripePrivyTokenRequestInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-