Class CodeInterpreterSessionSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeInterpreterSessionSummary.Builder,CodeInterpreterSessionSummary>
A condensed representation of a code interpreter session in Amazon Bedrock AgentCore. This structure contains key information about a code interpreter session, including identifiers, status, and timestamps, without the full details of the session configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe unique identifier of the code interpreter associated with the session.final InstantThe timestamp when the code interpreter session was created.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe timestamp when the code interpreter session was last updated.final Stringname()The name of the code interpreter session.static Class<? extends CodeInterpreterSessionSummary.Builder>final StringThe unique identifier of the code interpreter session.status()The current status of the code interpreter session.final StringThe current status of the code interpreter session.final StringtoString()Returns a string representation of this object.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
-
codeInterpreterIdentifier
The unique identifier of the code interpreter associated with the session. This identifier specifies which code interpreter environment is used for the session.
- Returns:
- The unique identifier of the code interpreter associated with the session. This identifier specifies which code interpreter environment is used for the session.
-
sessionId
The unique identifier of the code interpreter session. This identifier is used in operations that interact with the session.
- Returns:
- The unique identifier of the code interpreter session. This identifier is used in operations that interact with the session.
-
name
The name of the code interpreter session. This name helps identify and manage the session.
- Returns:
- The name of the code interpreter session. This name helps identify and manage the session.
-
status
The current status of the code interpreter session. Possible values include ACTIVE, STOPPING, and STOPPED.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCodeInterpreterSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the code interpreter session. Possible values include ACTIVE, STOPPING, and STOPPED.
- See Also:
-
statusAsString
The current status of the code interpreter session. Possible values include ACTIVE, STOPPING, and STOPPED.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCodeInterpreterSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the code interpreter session. Possible values include ACTIVE, STOPPING, and STOPPED.
- See Also:
-
createdAt
The timestamp when the code interpreter session was created. This value is in ISO 8601 format.
- Returns:
- The timestamp when the code interpreter session was created. This value is in ISO 8601 format.
-
lastUpdatedAt
The timestamp when the code interpreter session was last updated. This value is in ISO 8601 format.
- Returns:
- The timestamp when the code interpreter session was last updated. This value is in ISO 8601 format.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeInterpreterSessionSummary.Builder,CodeInterpreterSessionSummary>
-
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
-