Class BrowserSessionSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BrowserSessionSummary.Builder,BrowserSessionSummary>
A condensed representation of a browser session in Amazon Bedrock AgentCore. This structure contains key information about a browser session, including identifiers, status, and timestamps, without the full details of the session configuration and streams.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe unique identifier of the browser associated with the session.builder()final InstantThe timestamp when the browser 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 browser session was last updated.final Stringname()The name of the browser session.static Class<? extends BrowserSessionSummary.Builder>final StringThe unique identifier of the browser session.final BrowserSessionStatusstatus()The current status of the browser session.final StringThe current status of the browser 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
-
browserIdentifier
The unique identifier of the browser associated with the session. This identifier specifies which browser environment is used for the session.
- Returns:
- The unique identifier of the browser associated with the session. This identifier specifies which browser environment is used for the session.
-
sessionId
The unique identifier of the browser session. This identifier is used in operations that interact with the session.
- Returns:
- The unique identifier of the browser session. This identifier is used in operations that interact with the session.
-
name
The name of the browser session. This name helps identify and manage the session.
- Returns:
- The name of the browser session. This name helps identify and manage the session.
-
status
The current status of the browser 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 returnBrowserSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the browser session. Possible values include ACTIVE, STOPPING, and STOPPED.
- See Also:
-
statusAsString
The current status of the browser 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 returnBrowserSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the browser session. Possible values include ACTIVE, STOPPING, and STOPPED.
- See Also:
-
createdAt
The timestamp when the browser session was created. This value is in ISO 8601 format.
- Returns:
- The timestamp when the browser session was created. This value is in ISO 8601 format.
-
lastUpdatedAt
The timestamp when the browser session was last updated. This value is in ISO 8601 format.
- Returns:
- The timestamp when the browser session was last updated. This value is in ISO 8601 format.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<BrowserSessionSummary.Builder,BrowserSessionSummary>
-
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
-