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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods 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
-
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.Builderavoiding the need to create one manually viaStreamUpdate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-