Interface UpdateBrowserStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreRequest.Builder
,Buildable
,CopyableBuilder<UpdateBrowserStreamRequest.Builder,
,UpdateBrowserStreamRequest> SdkBuilder<UpdateBrowserStreamRequest.Builder,
,UpdateBrowserStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateBrowserStreamRequest
@Mutable
@NotThreadSafe
public static interface UpdateBrowserStreamRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<UpdateBrowserStreamRequest.Builder,UpdateBrowserStreamRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbrowserIdentifier
(String browserIdentifier) The identifier of the browser.clientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the browser session.streamUpdate
(Consumer<StreamUpdate.Builder> streamUpdate) The update to apply to the browser stream.streamUpdate
(StreamUpdate streamUpdate) The update to apply to the browser stream.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
build
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
-
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.
-
streamUpdate
The update to apply to the browser stream.
- Parameters:
streamUpdate
- The update to apply to the browser stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamUpdate
default UpdateBrowserStreamRequest.Builder streamUpdate(Consumer<StreamUpdate.Builder> streamUpdate) The update to apply to the browser stream.
This is a convenience method that creates an instance of theStreamUpdate.Builder
avoiding the need to create one manually viaStreamUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamUpdate(StreamUpdate)
.- Parameters:
streamUpdate
- a consumer that will call methods onStreamUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
- Parameters:
clientToken
- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateBrowserStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBrowserStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-