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
Constructors -
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()
ipAddressType
(String ipAddressType) Sets the value ofCfnService.NetworkConfigurationProperty.getIpAddressType()
-
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
-
ipAddressType
@Stability(Stable) public CfnService.NetworkConfigurationProperty.Builder ipAddressType(String ipAddressType) Sets the value ofCfnService.NetworkConfigurationProperty.getIpAddressType()
- Parameters:
ipAddressType
- App Runner provides you with the option to choose between IPv4 and dual stack (IPv4 and IPv6) for your incoming public network configuration. This is an optional parameter. If you do not specify anIpAddressType
, it defaults to select IPv4.- 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
-