Interface AwsBillingX402PaymentOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsBillingX402PaymentOutput.Builder,,AwsBillingX402PaymentOutput> SdkBuilder<AwsBillingX402PaymentOutput.Builder,,AwsBillingX402PaymentOutput> SdkPojo
- Enclosing class:
AwsBillingX402PaymentOutput
@Mutable
@NotThreadSafe
public static interface AwsBillingX402PaymentOutput.Builder
extends SdkPojo, CopyableBuilder<AwsBillingX402PaymentOutput.Builder,AwsBillingX402PaymentOutput>
-
Method Summary
Modifier and TypeMethodDescriptionpaymentToken(String paymentToken) The payment token, a signed JSON Web Token (JWT).The x402 protocol version.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
-
version
The x402 protocol version. This is the same value as the
versionin the request.- Parameters:
version- The x402 protocol version. This is the same value as theversionin the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentToken
The payment token, a signed JSON Web Token (JWT). Include it when you retry your request to the seller. Treat the payment token as a credential: don't log or share it.
- Parameters:
paymentToken- The payment token, a signed JSON Web Token (JWT). Include it when you retry your request to the seller. Treat the payment token as a credential: don't log or share it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-