Class AutomationStream
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomationStream.Builder,AutomationStream>
The configuration for a stream that enables programmatic control of a browser session in Amazon Bedrock AgentCore. This stream provides a bidirectional communication channel for sending commands to the browser and receiving responses, allowing agents to automate web interactions such as navigation, form filling, and element clicking.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AutomationStream.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends AutomationStream.Builder>final StringThe endpoint URL for the automation stream.final AutomationStreamStatusThe current status of the automation stream.final StringThe current status of the automation stream.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
-
streamEndpoint
The endpoint URL for the automation stream. This URL is used to establish a WebSocket connection to the stream for sending commands and receiving responses.
- Returns:
- The endpoint URL for the automation stream. This URL is used to establish a WebSocket connection to the stream for sending commands and receiving responses.
-
streamStatus
The current status of the automation stream. This indicates whether the stream is available for use. Possible values include ACTIVE, CONNECTING, and DISCONNECTED.
If the service returns an enum value that is not available in the current SDK version,
streamStatuswill returnAutomationStreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstreamStatusAsString().- Returns:
- The current status of the automation stream. This indicates whether the stream is available for use. Possible values include ACTIVE, CONNECTING, and DISCONNECTED.
- See Also:
-
streamStatusAsString
The current status of the automation stream. This indicates whether the stream is available for use. Possible values include ACTIVE, CONNECTING, and DISCONNECTED.
If the service returns an enum value that is not available in the current SDK version,
streamStatuswill returnAutomationStreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstreamStatusAsString().- Returns:
- The current status of the automation stream. This indicates whether the stream is available for use. Possible values include ACTIVE, CONNECTING, and DISCONNECTED.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomationStream.Builder,AutomationStream>
-
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
-