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) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.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.paymentManagerArn(String paymentManagerArn) The ARN of the payment manager.paymentSessionId(String paymentSessionId) The ID of the payment session.paymentType(String paymentType) The type of payment to process.paymentType(PaymentType paymentType) The type of payment to process.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.
- Parameters:
paymentManagerArn- The ARN of the payment manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentSessionId
The ID of the payment session.
- Parameters:
paymentSessionId- The ID of the payment session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentId
The ID of the payment instrument to use.
- Parameters:
paymentInstrumentId- The ID of the payment instrument to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentType
The type of payment to process.
- Parameters:
paymentType- The type of payment to process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentType
The type of payment to process.
- Parameters:
paymentType- The type of payment to process.- 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
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- 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.
-