Interface StartBrowserSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentCoreResponse.Builder
,Buildable
,CopyableBuilder<StartBrowserSessionResponse.Builder,
,StartBrowserSessionResponse> SdkBuilder<StartBrowserSessionResponse.Builder,
,StartBrowserSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartBrowserSessionResponse
@Mutable
@NotThreadSafe
public static interface StartBrowserSessionResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<StartBrowserSessionResponse.Builder,StartBrowserSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbrowserIdentifier
(String browserIdentifier) The identifier of the browser.The timestamp when the browser session was created.The unique identifier of the created browser session.streams
(Consumer<BrowserSessionStream.Builder> streams) The streams associated with this browser session.streams
(BrowserSessionStream streams) The streams associated with this browser session.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
browserIdentifier
The identifier of the browser.
- Parameters:
browserIdentifier
- The identifier of the browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The unique identifier of the created browser session.
- Parameters:
sessionId
- The unique identifier of the created browser session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the browser session was created.
- Parameters:
createdAt
- The timestamp when the browser session was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The streams associated with this browser session. These include the automation stream and live view stream.
- Parameters:
streams
- The streams associated with this browser session. These include the automation stream and live view stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The streams associated with this browser session. These include the automation stream and live view stream.
This is a convenience method that creates an instance of theBrowserSessionStream.Builder
avoiding the need to create one manually viaBrowserSessionStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreams(BrowserSessionStream)
.- Parameters:
streams
- a consumer that will call methods onBrowserSessionStream.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-