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