Interface GetBrowserSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentCoreResponse.Builder
,Buildable
,CopyableBuilder<GetBrowserSessionResponse.Builder,
,GetBrowserSessionResponse> SdkBuilder<GetBrowserSessionResponse.Builder,
,GetBrowserSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBrowserSessionResponse
-
Method Summary
Modifier and TypeMethodDescriptionbrowserIdentifier
(String browserIdentifier) The identifier of the browser.The time at which the browser session was created.lastUpdatedAt
(Instant lastUpdatedAt) The time at which the browser session was last updated.The name of the browser session.The identifier of the browser session.sessionReplayArtifact
(String sessionReplayArtifact) The artifact containing the session replay information.sessionTimeoutSeconds
(Integer sessionTimeoutSeconds) The timeout period for the browser session in seconds.The current status of the browser session.status
(BrowserSessionStatus status) The current status of the browser session.streams
(Consumer<BrowserSessionStream.Builder> streams) The streams associated with this browser session.streams
(BrowserSessionStream streams) The streams associated with this browser session.viewPort
(Consumer<ViewPort.Builder> viewPort) Sets the value of the ViewPort property for this object.Sets the value of the ViewPort property for this object.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 identifier of the browser session.
- Parameters:
sessionId
- The identifier of the browser session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the browser session.
- Parameters:
name
- The name of the browser session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time at which the browser session was created.
- Parameters:
createdAt
- The time at which the browser session was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewPort
Sets the value of the ViewPort property for this object.- Parameters:
viewPort
- The new value for the ViewPort property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewPort
Sets the value of the ViewPort property for this object. This is a convenience method that creates an instance of theViewPort.Builder
avoiding the need to create one manually viaViewPort.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toviewPort(ViewPort)
.- Parameters:
viewPort
- a consumer that will call methods onViewPort.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionTimeoutSeconds
The timeout period for the browser session in seconds.
- Parameters:
sessionTimeoutSeconds
- The timeout period for the browser session in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the browser session. Possible values include ACTIVE, STOPPING, and STOPPED.
- Parameters:
status
- The current status of the browser session. Possible values include ACTIVE, STOPPING, and STOPPED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the browser session. Possible values include ACTIVE, STOPPING, and STOPPED.
- Parameters:
status
- The current status of the browser session. Possible values include ACTIVE, STOPPING, and STOPPED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
sessionReplayArtifact
The artifact containing the session replay information.
- Parameters:
sessionReplayArtifact
- The artifact containing the session replay information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The time at which the browser session was last updated.
- Parameters:
lastUpdatedAt
- The time at which the browser session was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-