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>
Payment manager session
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AvailableLimitsThe available limits for this session after accounting for processed payments.static PaymentSession.Builderbuilder()final InstantThe timestamp when this payment session was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.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 session.final StringThe ARN of the payment manager that owns this session.final StringThe unique identifier for this payment session.static Class<? extends PaymentSession.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe timestamp when this payment session was last updated.final StringuserId()The user ID associated with this payment session.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
paymentSessionId
The unique identifier for this payment session.
- Returns:
- The unique identifier for this 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 this session.
- Returns:
- The spending limits for this session.
-
userId
The user ID associated with this payment session.
- Returns:
- The user ID associated with this payment session.
-
expiryTimeInMinutes
The session expiry time in minutes.
- Returns:
- The session expiry time in minutes.
-
createdAt
The timestamp when this payment session was created.
- Returns:
- The timestamp when this payment session was created.
-
availableLimits
The available limits for this session after accounting for processed payments.
- Returns:
- The available limits for this session after accounting for processed payments.
-
updatedAt
The timestamp when this payment session was last updated.
- Returns:
- The timestamp when this payment session was last updated.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PaymentSession.Builder,PaymentSession> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-