Class PaymentSession
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.PaymentSession
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PaymentSession.Builder,PaymentSession>
@Generated("software.amazon.awssdk:codegen")
public final class PaymentSession
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<PaymentSession.Builder,PaymentSession>
A payment session for managing payment transactions.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AvailableLimitsThe current available spending limits.static PaymentSession.Builderbuilder()final InstantThe timestamp when the session was created.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 the payment session.final StringThe ARN of the payment manager that owns this session.final StringThe unique identifier of the payment session.static Class<? extends PaymentSession.Builder>final StringtoString()Returns a string representation of this object.final InstantThe timestamp when the session was last updated.final StringuserId()The user ID associated with this session.Methods 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
-
paymentSessionId
The unique identifier of the payment session.
- Returns:
- The unique identifier of the payment session.
-
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 the payment session.
- Returns:
- The spending limits for the payment session.
-
userId
The user ID associated with this session.
- Returns:
- The user ID associated with this session.
-
expiryTimeInMinutes
The session expiry time in minutes.
- Returns:
- The session expiry time in minutes.
-
createdAt
The timestamp when the session was created.
- Returns:
- The timestamp when the session was created.
-
availableLimits
The current available spending limits.
- Returns:
- The current available spending limits.
-
updatedAt
The timestamp when the session was last updated.
- Returns:
- The timestamp when the session was last updated.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PaymentSession.Builder,PaymentSession>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-