Interface BrowserSessionStream.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BrowserSessionStream.Builder,,BrowserSessionStream> SdkBuilder<BrowserSessionStream.Builder,,BrowserSessionStream> SdkPojo
- Enclosing class:
BrowserSessionStream
-
Method Summary
Modifier and TypeMethodDescriptiondefault BrowserSessionStream.BuilderautomationStream(Consumer<AutomationStream.Builder> automationStream) The stream that enables programmatic control of the browser.automationStream(AutomationStream automationStream) The stream that enables programmatic control of the browser.default BrowserSessionStream.BuilderliveViewStream(Consumer<LiveViewStream.Builder> liveViewStream) The stream that provides a visual representation of the browser content.liveViewStream(LiveViewStream liveViewStream) The stream that provides a visual representation of the browser content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
automationStream
The stream that enables programmatic control of the browser. This stream allows agents to perform actions such as navigating to URLs, clicking elements, and filling forms.
- Parameters:
automationStream- The stream that enables programmatic control of the browser. This stream allows agents to perform actions such as navigating to URLs, clicking elements, and filling forms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationStream
default BrowserSessionStream.Builder automationStream(Consumer<AutomationStream.Builder> automationStream) The stream that enables programmatic control of the browser. This stream allows agents to perform actions such as navigating to URLs, clicking elements, and filling forms.
This is a convenience method that creates an instance of theAutomationStream.Builderavoiding the need to create one manually viaAutomationStream.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomationStream(AutomationStream).- Parameters:
automationStream- a consumer that will call methods onAutomationStream.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
liveViewStream
The stream that provides a visual representation of the browser content. This stream allows agents to observe the current state of the browser, including rendered web pages and visual elements.
- Parameters:
liveViewStream- The stream that provides a visual representation of the browser content. This stream allows agents to observe the current state of the browser, including rendered web pages and visual elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
liveViewStream
default BrowserSessionStream.Builder liveViewStream(Consumer<LiveViewStream.Builder> liveViewStream) The stream that provides a visual representation of the browser content. This stream allows agents to observe the current state of the browser, including rendered web pages and visual elements.
This is a convenience method that creates an instance of theLiveViewStream.Builderavoiding the need to create one manually viaLiveViewStream.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toliveViewStream(LiveViewStream).- Parameters:
liveViewStream- a consumer that will call methods onLiveViewStream.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-