Interface ProcessPaymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<ProcessPaymentRequest.Builder,,ProcessPaymentRequest> SdkBuilder<ProcessPaymentRequest.Builder,,ProcessPaymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ProcessPaymentRequest
@Mutable
@NotThreadSafe
public static interface ProcessPaymentRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<ProcessPaymentRequest.Builder,ProcessPaymentRequest>
-
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.default ProcessPaymentRequest.BuilderpaymentInput(Consumer<PaymentInput.Builder> paymentInput) The payment input details specific to the payment type.paymentInput(PaymentInput paymentInput) The payment input details specific to the payment type.paymentInstrumentId(String paymentInstrumentId) The ID of the payment instrument to use for this transaction.paymentManagerArn(String paymentManagerArn) The ARN of the payment manager handling this payment.paymentSessionId(String paymentSessionId) The ID of the payment session for this transaction.paymentType(String paymentType) The type of payment being processed.paymentType(PaymentType paymentType) The type of payment being processed.The user ID associated with this payment.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.
- Parameters:
userId- The user ID associated with this payment.- 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 handling this payment.
- Parameters:
paymentManagerArn- The ARN of the payment manager handling this payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentSessionId
The ID of the payment session for this transaction.
- Parameters:
paymentSessionId- The ID of the payment session for this transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentId
The ID of the payment instrument to use for this transaction.
- Parameters:
paymentInstrumentId- The ID of the payment instrument to use for this transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentType
The type of payment being processed.
- Parameters:
paymentType- The type of payment being processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentType
The type of payment being processed.
- Parameters:
paymentType- The type of payment being processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentInput
The payment input details specific to the payment type.
- Parameters:
paymentInput- The payment input details specific to the payment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInput
The payment input details specific to the payment type.
This is a convenience method that creates an instance of thePaymentInput.Builderavoiding the need to create one manually viaPaymentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentInput(PaymentInput).- Parameters:
paymentInput- a consumer that will call methods onPaymentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
ProcessPaymentRequest.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
ProcessPaymentRequest.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.
-