Interface CreatePaymentInstrumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<CreatePaymentInstrumentRequest.Builder,,CreatePaymentInstrumentRequest> SdkBuilder<CreatePaymentInstrumentRequest.Builder,,CreatePaymentInstrumentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePaymentInstrumentRequest
@Mutable
@NotThreadSafe
public static interface CreatePaymentInstrumentRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<CreatePaymentInstrumentRequest.Builder,CreatePaymentInstrumentRequest>
-
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.paymentConnectorId(String paymentConnectorId) The ID of the payment connector to use for this instrument.paymentInstrumentDetails(Consumer<PaymentInstrumentDetails.Builder> paymentInstrumentDetails) The details of the payment instrument.paymentInstrumentDetails(PaymentInstrumentDetails paymentInstrumentDetails) The details of the payment instrument.paymentInstrumentType(String paymentInstrumentType) The type of payment instrument being created.paymentInstrumentType(PaymentInstrumentType paymentInstrumentType) The type of payment instrument being created.paymentManagerArn(String paymentManagerArn) The ARN of the payment manager that owns this payment instrument.The user ID associated with this payment instrument.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 instrument.
- Parameters:
userId- The user ID associated with this payment instrument.- 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 instrument.
- Parameters:
paymentManagerArn- The ARN of the payment manager that owns this payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentConnectorId
The ID of the payment connector to use for this instrument.
- Parameters:
paymentConnectorId- The ID of the payment connector to use for this instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentType
The type of payment instrument being created.
- Parameters:
paymentInstrumentType- The type of payment instrument being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentInstrumentType
CreatePaymentInstrumentRequest.Builder paymentInstrumentType(PaymentInstrumentType paymentInstrumentType) The type of payment instrument being created.
- Parameters:
paymentInstrumentType- The type of payment instrument being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentInstrumentDetails
CreatePaymentInstrumentRequest.Builder paymentInstrumentDetails(PaymentInstrumentDetails paymentInstrumentDetails) The details of the payment instrument.
- Parameters:
paymentInstrumentDetails- The details of the payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentDetails
default CreatePaymentInstrumentRequest.Builder paymentInstrumentDetails(Consumer<PaymentInstrumentDetails.Builder> paymentInstrumentDetails) The details of the payment instrument.
This is a convenience method that creates an instance of thePaymentInstrumentDetails.Builderavoiding the need to create one manually viaPaymentInstrumentDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentInstrumentDetails(PaymentInstrumentDetails).- Parameters:
paymentInstrumentDetails- a consumer that will call methods onPaymentInstrumentDetails.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
CreatePaymentInstrumentRequest.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
CreatePaymentInstrumentRequest.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.
-