Class CreatePaymentSessionRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest
software.amazon.awssdk.services.bedrockagentcore.model.CreatePaymentSessionRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreatePaymentSessionRequest.Builder,CreatePaymentSessionRequest>
@Generated("software.amazon.awssdk:codegen")
public final class CreatePaymentSessionRequest
extends BedrockAgentCoreRequest
implements ToCopyableBuilder<CreatePaymentSessionRequest.Builder,CreatePaymentSessionRequest>
Request structure for creating a payment session.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe agent name associated with this request, used for observability.builder()final StringA unique, case-sensitive identifier that you provide to ensure the idempotency of the request.final booleanfinal booleanequalsBySdkFields(Object obj) final IntegerThe session expiry time in minutes.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SessionLimitslimits()The spending limits for this payment session.final StringThe ARN of the payment manager that owns this session.static Class<? extends CreatePaymentSessionRequest.Builder>final StringtoString()Returns a string representation of this object.final StringuserId()The user ID associated with this payment session.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
userId
The user ID associated with this payment session.
- Returns:
- The user ID associated with this payment session.
-
agentName
The agent name associated with this request, used for observability.
- Returns:
- The agent name associated with this request, used for observability.
-
paymentManagerArn
The ARN of the payment manager that owns this session.
- Returns:
- The ARN of the payment manager that owns this session.
-
limits
The spending limits for this payment session.
- Returns:
- The spending limits for this payment session.
-
expiryTimeInMinutes
The session expiry time in minutes. Must be between 15 and 480 minutes.
- Returns:
- The session expiry time in minutes. Must be between 15 and 480 minutes.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Returns:
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatePaymentSessionRequest.Builder,CreatePaymentSessionRequest> - Specified by:
toBuilderin classBedrockAgentCoreRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-