Interface InvokeBrowserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<InvokeBrowserRequest.Builder,,InvokeBrowserRequest> SdkBuilder<InvokeBrowserRequest.Builder,,InvokeBrowserRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
InvokeBrowserRequest
@Mutable
@NotThreadSafe
public static interface InvokeBrowserRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<InvokeBrowserRequest.Builder,InvokeBrowserRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InvokeBrowserRequest.Builderaction(Consumer<BrowserAction.Builder> action) The browser action to perform.action(BrowserAction action) The browser action to perform.browserIdentifier(String browserIdentifier) The unique identifier of the browser associated with the session.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of the browser session on which to perform the action.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 unique identifier of the browser associated with the session. This must match the identifier used when creating the session with
StartBrowserSession.- Parameters:
browserIdentifier- The unique identifier of the browser associated with the session. This must match the identifier used when creating the session withStartBrowserSession.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The unique identifier of the browser session on which to perform the action. This must be an active session created with
StartBrowserSession.- Parameters:
sessionId- The unique identifier of the browser session on which to perform the action. This must be an active session created withStartBrowserSession.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The browser action to perform. Exactly one member of the
BrowserActionunion must be set per request.- Parameters:
action- The browser action to perform. Exactly one member of theBrowserActionunion must be set per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The browser action to perform. Exactly one member of the
This is a convenience method that creates an instance of theBrowserActionunion must be set per request.BrowserAction.Builderavoiding the need to create one manually viaBrowserAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(BrowserAction).- Parameters:
action- a consumer that will call methods onBrowserAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
InvokeBrowserRequest.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
InvokeBrowserRequest.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.
-