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()
-
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
- Network mode configuration type. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuntime.NetworkConfigurationProperty>
- Returns:
- a new instance of
CfnRuntime.NetworkConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-