Interface AuthorizePaymentIntentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<AuthorizePaymentIntentRequest.Builder,,AuthorizePaymentIntentRequest> SdkBuilder<AuthorizePaymentIntentRequest.Builder,,AuthorizePaymentIntentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AuthorizePaymentIntentRequest
@Mutable
@NotThreadSafe
public static interface AuthorizePaymentIntentRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<AuthorizePaymentIntentRequest.Builder,AuthorizePaymentIntentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe agent name associated with this request, used for observability.clientToken(String clientToken) Idempotency token to ensure request uniqueness.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partnerCallbackResult(String partnerCallbackResult) Optional callback result returned by the payment partner after browser interaction.paymentIntentId(String paymentIntentId) The ID of the payment intent to authorize (must be in INITIATED status).paymentManagerArn(String paymentManagerArn) The ARN of the payment manager that owns this payment intent.The user ID associated with this payment intent.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods 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
-
userId
The user ID associated with this payment intent.
- Parameters:
userId- The user ID associated with this payment intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentName
The agent name associated with this request, used for observability.
- Parameters:
agentName- The agent name associated with this request, used for observability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentManagerArn
The ARN of the payment manager that owns this payment intent.
- Parameters:
paymentManagerArn- The ARN of the payment manager that owns this payment intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentIntentId
The ID of the payment intent to authorize (must be in INITIATED status).
- Parameters:
paymentIntentId- The ID of the payment intent to authorize (must be in INITIATED status).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerCallbackResult
Optional callback result returned by the payment partner after browser interaction. Stripe and PayPal do not require it in the current flow; Amazon Pay uses it.
- Parameters:
partnerCallbackResult- Optional callback result returned by the payment partner after browser interaction. Stripe and PayPal do not require it in the current flow; Amazon Pay uses it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotency token to ensure request uniqueness.
- Parameters:
clientToken- Idempotency token to ensure request uniqueness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AuthorizePaymentIntentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AuthorizePaymentIntentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-