Class CfnBrowserCustom.BrowserNetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrowserCustom.BrowserNetworkConfigurationProperty>
- Enclosing interface:
CfnBrowserCustom.BrowserNetworkConfigurationProperty
@Stability(Stable)
public static final class CfnBrowserCustom.BrowserNetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrowserCustom.BrowserNetworkConfigurationProperty>
A builder for
CfnBrowserCustom.BrowserNetworkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkMode(String networkMode) Sets the value ofCfnBrowserCustom.BrowserNetworkConfigurationProperty.getNetworkMode()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnBrowserCustom.BrowserNetworkConfigurationProperty.getVpcConfig()vpcConfig(CfnBrowserCustom.VpcConfigProperty vpcConfig) Sets the value ofCfnBrowserCustom.BrowserNetworkConfigurationProperty.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkMode
@Stability(Stable) public CfnBrowserCustom.BrowserNetworkConfigurationProperty.Builder networkMode(String networkMode) Sets the value ofCfnBrowserCustom.BrowserNetworkConfigurationProperty.getNetworkMode()- Parameters:
networkMode- The network mode. This parameter is required.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnBrowserCustom.BrowserNetworkConfigurationProperty.Builder vpcConfig(IResolvable vpcConfig) Sets the value ofCfnBrowserCustom.BrowserNetworkConfigurationProperty.getVpcConfig()- Parameters:
vpcConfig- Network mode configuration for VPC.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnBrowserCustom.BrowserNetworkConfigurationProperty.Builder vpcConfig(CfnBrowserCustom.VpcConfigProperty vpcConfig) Sets the value ofCfnBrowserCustom.BrowserNetworkConfigurationProperty.getVpcConfig()- Parameters:
vpcConfig- Network mode configuration for VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrowserCustom.BrowserNetworkConfigurationProperty>- Returns:
- a new instance of
CfnBrowserCustom.BrowserNetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-