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