Class CfnService.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.CfnService.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.NetworkConfigurationProperty>
- Enclosing interface:
CfnService.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnService.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.NetworkConfigurationProperty>
A builder for
CfnService.NetworkConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.egressConfiguration
(IResolvable egressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getEgressConfiguration()
egressConfiguration
(CfnService.EgressConfigurationProperty egressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getEgressConfiguration()
ingressConfiguration
(IResolvable ingressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getIngressConfiguration()
ingressConfiguration
(CfnService.IngressConfigurationProperty ingressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getIngressConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressConfiguration
@Stability(Stable) public CfnService.NetworkConfigurationProperty.Builder egressConfiguration(IResolvable egressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getEgressConfiguration()
- Parameters:
egressConfiguration
- Network configuration settings for outbound message traffic.- Returns:
this
-
egressConfiguration
@Stability(Stable) public CfnService.NetworkConfigurationProperty.Builder egressConfiguration(CfnService.EgressConfigurationProperty egressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getEgressConfiguration()
- Parameters:
egressConfiguration
- Network configuration settings for outbound message traffic.- Returns:
this
-
ingressConfiguration
@Stability(Stable) public CfnService.NetworkConfigurationProperty.Builder ingressConfiguration(IResolvable ingressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getIngressConfiguration()
- Parameters:
ingressConfiguration
- Network configuration settings for inbound message traffic.- Returns:
this
-
ingressConfiguration
@Stability(Stable) public CfnService.NetworkConfigurationProperty.Builder ingressConfiguration(CfnService.IngressConfigurationProperty ingressConfiguration) Sets the value ofCfnService.NetworkConfigurationProperty.getIngressConfiguration()
- Parameters:
ingressConfiguration
- Network configuration settings for inbound message traffic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnService.NetworkConfigurationProperty>
- Returns:
- a new instance of
CfnService.NetworkConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-