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