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 TypeMethodDescriptionbrowserSigning(IResolvable browserSigning) Sets the value ofCfnBrowserCustomProps.getBrowserSigning()browserSigning(CfnBrowserCustom.BrowserSigningProperty browserSigning) Sets the value ofCfnBrowserCustomProps.getBrowserSigning()build()Builds the configured instance.certificates(List<? extends Object> certificates) Sets the value ofCfnBrowserCustomProps.getCertificates()certificates(IResolvable certificates) Sets the value ofCfnBrowserCustomProps.getCertificates()description(String description) Sets the value ofCfnBrowserCustomProps.getDescription()enterprisePolicies(List<? extends Object> enterprisePolicies) Sets the value ofCfnBrowserCustomProps.getEnterprisePolicies()enterprisePolicies(IResolvable enterprisePolicies) Sets the value ofCfnBrowserCustomProps.getEnterprisePolicies()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 custom browser. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnBrowserCustomProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnBrowserCustomProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration for a code interpreter. This parameter is required. This structure defines how the code interpreter connects to the network.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnBrowserCustomProps.Builder networkConfiguration(CfnBrowserCustom.BrowserNetworkConfigurationProperty networkConfiguration) Sets the value ofCfnBrowserCustomProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration for a code interpreter. This parameter is required. This structure defines how the code interpreter connects to the network.- Returns:
this
-
browserSigning
Sets the value ofCfnBrowserCustomProps.getBrowserSigning()- Parameters:
browserSigning- Browser signing configuration.- Returns:
this
-
browserSigning
@Stability(Stable) public CfnBrowserCustomProps.Builder browserSigning(CfnBrowserCustom.BrowserSigningProperty browserSigning) Sets the value ofCfnBrowserCustomProps.getBrowserSigning()- Parameters:
browserSigning- Browser signing configuration.- Returns:
this
-
certificates
Sets the value ofCfnBrowserCustomProps.getCertificates()- Parameters:
certificates- List of root CA certificates.- Returns:
this
-
certificates
@Stability(Stable) public CfnBrowserCustomProps.Builder certificates(List<? extends Object> certificates) Sets the value ofCfnBrowserCustomProps.getCertificates()- Parameters:
certificates- List of root CA certificates.- Returns:
this
-
description
Sets the value ofCfnBrowserCustomProps.getDescription()- Parameters:
description- The custom browser.- Returns:
this
-
enterprisePolicies
@Stability(Stable) public CfnBrowserCustomProps.Builder enterprisePolicies(IResolvable enterprisePolicies) Sets the value ofCfnBrowserCustomProps.getEnterprisePolicies()- Parameters:
enterprisePolicies- List of browser enterprise policies.- Returns:
this
-
enterprisePolicies
@Stability(Stable) public CfnBrowserCustomProps.Builder enterprisePolicies(List<? extends Object> enterprisePolicies) Sets the value ofCfnBrowserCustomProps.getEnterprisePolicies()- Parameters:
enterprisePolicies- List of browser enterprise policies.- Returns:
this
-
executionRoleArn
Sets the value ofCfnBrowserCustomProps.getExecutionRoleArn()- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the execution role.- Returns:
this
-
recordingConfig
@Stability(Stable) public CfnBrowserCustomProps.Builder recordingConfig(IResolvable recordingConfig) Sets the value ofCfnBrowserCustomProps.getRecordingConfig()- Parameters:
recordingConfig- THe custom browser configuration.- Returns:
this
-
recordingConfig
@Stability(Stable) public CfnBrowserCustomProps.Builder recordingConfig(CfnBrowserCustom.RecordingConfigProperty recordingConfig) Sets the value ofCfnBrowserCustomProps.getRecordingConfig()- Parameters:
recordingConfig- THe custom browser configuration.- Returns:
this
-
tags
Sets the value ofCfnBrowserCustomProps.getTags()- Parameters:
tags- The tags for the custom browser.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrowserCustomProps>- Returns:
- a new instance of
CfnBrowserCustomProps - Throws:
NullPointerException- if any required attribute was not provided
-