Class CfnBrowserCustomProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnBrowserCustomProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrowserCustomProps>
- Enclosing interface:
CfnBrowserCustomProps
@Stability(Stable)
public static final class CfnBrowserCustomProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrowserCustomProps>
A builder for
CfnBrowserCustomProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnBrowserCustomProps.getDescription()
executionRoleArn
(String executionRoleArn) Sets the value ofCfnBrowserCustomProps.getExecutionRoleArn()
Sets the value ofCfnBrowserCustomProps.getName()
networkConfiguration
(IResolvable networkConfiguration) Sets the value ofCfnBrowserCustomProps.getNetworkConfiguration()
networkConfiguration
(CfnBrowserCustom.BrowserNetworkConfigurationProperty networkConfiguration) Sets the value ofCfnBrowserCustomProps.getNetworkConfiguration()
recordingConfig
(IResolvable recordingConfig) Sets the value ofCfnBrowserCustomProps.getRecordingConfig()
recordingConfig
(CfnBrowserCustom.RecordingConfigProperty recordingConfig) Sets the value ofCfnBrowserCustomProps.getRecordingConfig()
Sets the value ofCfnBrowserCustomProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnBrowserCustomProps.getName()
- Parameters:
name
- The name of the browser. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnBrowserCustomProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnBrowserCustomProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- Network configuration for browser. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnBrowserCustomProps.Builder networkConfiguration(CfnBrowserCustom.BrowserNetworkConfigurationProperty networkConfiguration) Sets the value ofCfnBrowserCustomProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- Network configuration for browser. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnBrowserCustomProps.getDescription()
- Parameters:
description
- The description of the browser.- Returns:
this
-
executionRoleArn
Sets the value ofCfnBrowserCustomProps.getExecutionRoleArn()
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role.- Returns:
this
-
recordingConfig
@Stability(Stable) public CfnBrowserCustomProps.Builder recordingConfig(IResolvable recordingConfig) Sets the value ofCfnBrowserCustomProps.getRecordingConfig()
- Parameters:
recordingConfig
- Recording configuration for browser.- Returns:
this
-
recordingConfig
@Stability(Stable) public CfnBrowserCustomProps.Builder recordingConfig(CfnBrowserCustom.RecordingConfigProperty recordingConfig) Sets the value ofCfnBrowserCustomProps.getRecordingConfig()
- Parameters:
recordingConfig
- Recording configuration for browser.- Returns:
this
-
tags
Sets the value ofCfnBrowserCustomProps.getTags()
- Parameters:
tags
- A map of tag keys and values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBrowserCustomProps>
- Returns:
- a new instance of
CfnBrowserCustomProps
- Throws:
NullPointerException
- if any required attribute was not provided
-