Interface CreateBrowserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<CreateBrowserRequest.Builder,
,CreateBrowserRequest> SdkBuilder<CreateBrowserRequest.Builder,
,CreateBrowserRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBrowserRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description
(String description) The description of the browser.executionRoleArn
(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services.The name of the browser.default CreateBrowserRequest.Builder
networkConfiguration
(Consumer<BrowserNetworkConfiguration.Builder> networkConfiguration) The network configuration for the browser.networkConfiguration
(BrowserNetworkConfiguration networkConfiguration) The network configuration for the browser.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateBrowserRequest.Builder
recording
(Consumer<RecordingConfig.Builder> recording) The recording configuration for the browser.recording
(RecordingConfig recording) The recording configuration for the browser.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.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
-
name
The name of the browser. The name must be unique within your account.
- Parameters:
name
- The name of the browser. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the browser.
- Parameters:
description
- The description of the browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services.
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
The network configuration for the browser. This configuration specifies the network mode for the browser.
- Parameters:
networkConfiguration
- The network configuration for the browser. This configuration specifies the network mode for the browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default CreateBrowserRequest.Builder networkConfiguration(Consumer<BrowserNetworkConfiguration.Builder> networkConfiguration) The network configuration for the browser. This configuration specifies the network mode for the browser.
This is a convenience method that creates an instance of theBrowserNetworkConfiguration.Builder
avoiding the need to create one manually viaBrowserNetworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkConfiguration(BrowserNetworkConfiguration)
.- Parameters:
networkConfiguration
- a consumer that will call methods onBrowserNetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recording
The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.
- Parameters:
recording
- The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recording
The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.
This is a convenience method that creates an instance of theRecordingConfig.Builder
avoiding the need to create one manually viaRecordingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecording(RecordingConfig)
.- Parameters:
recording
- a consumer that will call methods onRecordingConfig.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
CreateBrowserRequest.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
CreateBrowserRequest.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.
-