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.BuildernetworkConfiguration(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.Builderrecording(Consumer<RecordingConfig.Builder> recording) The recording configuration for the browser.recording(RecordingConfig recording) The recording configuration for the browser.A map of tag keys and values to assign to the browser.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.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
-
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.Builderavoiding the need to create one manually viaBrowserNetworkConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRecordingConfig.builder().When the
Consumercompletes,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.
-
tags
A map of tag keys and values to assign to the browser. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Parameters:
tags- A map of tag keys and values to assign to the browser. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-