Class MppPaymentOutput
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.MppPaymentOutput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MppPaymentOutput.Builder,MppPaymentOutput>
@Generated("software.amazon.awssdk:codegen")
public final class MppPaymentOutput
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<MppPaymentOutput.Builder,MppPaymentOutput>
Contains the payment credential, ready to retry the request.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MppPaymentOutput.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringReady-to-send value for theAuthorizationheader, in the form "Payment <base64url-token>".final StringThe id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.static Class<? extends MppPaymentOutput.Builder>final StringtoString()Returns a string representation of this object.final Stringversion()The MPP protocol version, for example "1" or "2".Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
version
The MPP protocol version, for example "1" or "2".
- Returns:
- The MPP protocol version, for example "1" or "2".
-
selectedPaymentId
The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.
- Returns:
- The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.
-
paymentCredential
Ready-to-send value for the
Authorizationheader, in the form "Payment <base64url-token>". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.- Returns:
- Ready-to-send value for the
Authorizationheader, in the form "Payment <base64url-token>". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MppPaymentOutput.Builder,MppPaymentOutput>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-