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()
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 Internet Protocol version 4 (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.Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint. If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.
- 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
-