Class CfnServicePropsMixin.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apprunner.CfnServicePropsMixin.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.NetworkConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.NetworkConfigurationProperty>
A builder for
CfnServicePropsMixin.NetworkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.egressConfiguration(CfnServicePropsMixin.EgressConfigurationProperty egressConfiguration) egressConfiguration(IResolvable egressConfiguration) ingressConfiguration(CfnServicePropsMixin.IngressConfigurationProperty ingressConfiguration) ingressConfiguration(IResolvable ingressConfiguration) ipAddressType(String ipAddressType) Sets the value ofCfnServicePropsMixin.NetworkConfigurationProperty.getIpAddressType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressConfiguration
@Stability(Stable) public CfnServicePropsMixin.NetworkConfigurationProperty.Builder egressConfiguration(IResolvable egressConfiguration) - Parameters:
egressConfiguration- Network configuration settings for outbound message traffic.- Returns:
this
-
egressConfiguration
@Stability(Stable) public CfnServicePropsMixin.NetworkConfigurationProperty.Builder egressConfiguration(CfnServicePropsMixin.EgressConfigurationProperty egressConfiguration) - Parameters:
egressConfiguration- Network configuration settings for outbound message traffic.- Returns:
this
-
ingressConfiguration
@Stability(Stable) public CfnServicePropsMixin.NetworkConfigurationProperty.Builder ingressConfiguration(IResolvable ingressConfiguration) - Parameters:
ingressConfiguration- Network configuration settings for inbound message traffic.- Returns:
this
-
ingressConfiguration
@Stability(Stable) public CfnServicePropsMixin.NetworkConfigurationProperty.Builder ingressConfiguration(CfnServicePropsMixin.IngressConfigurationProperty ingressConfiguration) - Parameters:
ingressConfiguration- Network configuration settings for inbound message traffic.- Returns:
this
-
ipAddressType
@Stability(Stable) public CfnServicePropsMixin.NetworkConfigurationProperty.Builder ipAddressType(String ipAddressType) Sets the value ofCfnServicePropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.NetworkConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.NetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-