Interface PaymentInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentInput.Builder,,PaymentInput> SdkBuilder<PaymentInput.Builder,,PaymentInput> SdkPojo
- Enclosing class:
PaymentInput
@Mutable
@NotThreadSafe
public static interface PaymentInput.Builder
extends SdkPojo, CopyableBuilder<PaymentInput.Builder,PaymentInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PaymentInput.BuildercryptoX402(Consumer<CryptoX402PaymentInput.Builder> cryptoX402) Sets the value of the CryptoX402 property for this object.cryptoX402(CryptoX402PaymentInput cryptoX402) Sets the value of the CryptoX402 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
-
cryptoX402
Sets the value of the CryptoX402 property for this object.- Parameters:
cryptoX402- The new value for the CryptoX402 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cryptoX402
Sets the value of the CryptoX402 property for this object. This is a convenience method that creates an instance of theCryptoX402PaymentInput.Builderavoiding the need to create one manually viaCryptoX402PaymentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocryptoX402(CryptoX402PaymentInput).- Parameters:
cryptoX402- a consumer that will call methods onCryptoX402PaymentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-