Class BrowserCustomProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.BrowserCustomProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BrowserCustomProps>
- Enclosing interface:
BrowserCustomProps
@Stability(Stable)
public static final class BrowserCustomProps.Builder
extends Object
implements software.amazon.jsii.Builder<BrowserCustomProps>
A builder for
BrowserCustomProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrowserCustomName(String browserCustomName) Sets the value ofBrowserCustomProps.getBrowserCustomName()browserSigning(BrowserSigning browserSigning) Sets the value ofBrowserCustomProps.getBrowserSigning()build()Builds the configured instance.description(String description) Sets the value ofBrowserCustomProps.getDescription()executionRole(IRole executionRole) Sets the value ofBrowserCustomProps.getExecutionRole()networkConfiguration(BrowserNetworkConfiguration networkConfiguration) Sets the value ofBrowserCustomProps.getNetworkConfiguration()recordingConfig(RecordingConfig recordingConfig) Sets the value ofBrowserCustomProps.getRecordingConfig()Sets the value ofBrowserCustomProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
browserCustomName
Sets the value ofBrowserCustomProps.getBrowserCustomName()- Parameters:
browserCustomName- The name of the browser custom tool Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.- Returns:
this
-
browserSigning
Sets the value ofBrowserCustomProps.getBrowserSigning()- Parameters:
browserSigning- Specifies whether browser signing is enabled. When enabled, the browser will cryptographically sign HTTP requests to identify itself as an AI agent to bot control vendors.- Returns:
this
-
description
Sets the value ofBrowserCustomProps.getDescription()- Parameters:
description- Optional description for the browser Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.- Returns:
this
-
executionRole
Sets the value ofBrowserCustomProps.getExecutionRole()- Parameters:
executionRole- The IAM role that provides permissions for the browser to access AWS services.- Returns:
this
-
networkConfiguration
@Stability(Stable) public BrowserCustomProps.Builder networkConfiguration(BrowserNetworkConfiguration networkConfiguration) Sets the value ofBrowserCustomProps.getNetworkConfiguration()- Parameters:
networkConfiguration- Network configuration for browser.- Returns:
this
-
recordingConfig
@Stability(Stable) public BrowserCustomProps.Builder recordingConfig(RecordingConfig recordingConfig) Sets the value ofBrowserCustomProps.getRecordingConfig()- Parameters:
recordingConfig- Recording configuration for browser.- Returns:
this
-
tags
Sets the value ofBrowserCustomProps.getTags()- Parameters:
tags- Tags (optional) A list of key:value pairs of tags to apply to this Browser resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BrowserCustomProps>- Returns:
- a new instance of
BrowserCustomProps - Throws:
NullPointerException- if any required attribute was not provided
-