Interface GetPaymentInstrumentBalanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<GetPaymentInstrumentBalanceRequest.Builder,,GetPaymentInstrumentBalanceRequest> SdkBuilder<GetPaymentInstrumentBalanceRequest.Builder,,GetPaymentInstrumentBalanceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetPaymentInstrumentBalanceRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe agent name associated with this request, used for observability.The specific blockchain chain to query balance on.chain(BlockchainChainId chain) The specific blockchain chain to query balance on.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 associated with this instrument.paymentInstrumentId(String paymentInstrumentId) The ID of the payment instrument to query balance for.paymentManagerArn(String paymentManagerArn) The ARN of the payment manager that owns this payment instrument.The token to query balance for.token(InstrumentBalanceToken token) The token to query balance for.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 associated with this instrument.
- Parameters:
paymentConnectorId- The ID of the payment connector associated with this instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentId
The ID of the payment instrument to query balance for.
- Parameters:
paymentInstrumentId- The ID of the payment instrument to query balance for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chain
The specific blockchain chain to query balance on. Required because balances are chain-specific — the same wallet address may hold different token balances on different chains.
- Parameters:
chain- The specific blockchain chain to query balance on. Required because balances are chain-specific — the same wallet address may hold different token balances on different chains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chain
The specific blockchain chain to query balance on. Required because balances are chain-specific — the same wallet address may hold different token balances on different chains.
- Parameters:
chain- The specific blockchain chain to query balance on. Required because balances are chain-specific — the same wallet address may hold different token balances on different chains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
token
The token to query balance for. Required to specify which supported token's balance to return.
- Parameters:
token- The token to query balance for. Required to specify which supported token's balance to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
token
The token to query balance for. Required to specify which supported token's balance to return.
- Parameters:
token- The token to query balance for. Required to specify which supported token's balance to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetPaymentInstrumentBalanceRequest.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
GetPaymentInstrumentBalanceRequest.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.
-