Interface CreatePaymentSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<CreatePaymentSessionRequest.Builder,,CreatePaymentSessionRequest> SdkBuilder<CreatePaymentSessionRequest.Builder,,CreatePaymentSessionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePaymentSessionRequest
@Mutable
@NotThreadSafe
public static interface CreatePaymentSessionRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<CreatePaymentSessionRequest.Builder,CreatePaymentSessionRequest>
-
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.expiryTimeInMinutes(Integer expiryTimeInMinutes) The session expiry time in minutes.limits(Consumer<SessionLimits.Builder> limits) The spending limits for this payment session.limits(SessionLimits limits) The spending limits for this payment session.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) paymentManagerArn(String paymentManagerArn) The ARN of the payment manager that owns this session.The user ID associated with this payment session.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 session.
- Parameters:
userId- The user ID associated with this payment session.- 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 session.
- Parameters:
paymentManagerArn- The ARN of the payment manager that owns this session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
The spending limits for this payment session.
- Parameters:
limits- The spending limits for this payment session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
The spending limits for this payment session.
This is a convenience method that creates an instance of theSessionLimits.Builderavoiding the need to create one manually viaSessionLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimits(SessionLimits).- Parameters:
limits- a consumer that will call methods onSessionLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expiryTimeInMinutes
The session expiry time in minutes. Must be between 15 and 480 minutes.
- Parameters:
expiryTimeInMinutes- The session expiry time in minutes. Must be between 15 and 480 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
CreatePaymentSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePaymentSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-