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