Class MemorySessionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.MemorySessionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MemorySessionSummary.Builder,MemorySessionSummary>
@Generated("software.amazon.awssdk:codegen") public final class MemorySessionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MemorySessionSummary.Builder,MemorySessionSummary>
Contains details of a session summary.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMemorySessionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MemorySessionSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmemoryId()The unique identifier of the memory where the session summary is stored.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MemorySessionSummary.Builder>serializableBuilderClass()InstantsessionExpiryTime()The time when the memory duration for the session is set to end.StringsessionId()The identifier for this session.InstantsessionStartTime()The start time for this session.StringsummaryText()The summarized text for this session.MemorySessionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
memoryId
public final String memoryId()
The unique identifier of the memory where the session summary is stored.
- Returns:
- The unique identifier of the memory where the session summary is stored.
-
sessionExpiryTime
public final Instant sessionExpiryTime()
The time when the memory duration for the session is set to end.
- Returns:
- The time when the memory duration for the session is set to end.
-
sessionId
public final String sessionId()
The identifier for this session.
- Returns:
- The identifier for this session.
-
sessionStartTime
public final Instant sessionStartTime()
The start time for this session.
- Returns:
- The start time for this session.
-
summaryText
public final String summaryText()
The summarized text for this session.
- Returns:
- The summarized text for this session.
-
toBuilder
public MemorySessionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MemorySessionSummary.Builder,MemorySessionSummary>
-
builder
public static MemorySessionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends MemorySessionSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-