Class CfnVpcIngressConnection.IngressVpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.CfnVpcIngressConnection.IngressVpcConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcIngressConnection.IngressVpcConfigurationProperty>
- Enclosing interface:
CfnVpcIngressConnection.IngressVpcConfigurationProperty
@Stability(Stable)
public static final class CfnVpcIngressConnection.IngressVpcConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcIngressConnection.IngressVpcConfigurationProperty>
A builder for
CfnVpcIngressConnection.IngressVpcConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.vpcEndpointId(String vpcEndpointId) Sets the value ofCfnVpcIngressConnection.IngressVpcConfigurationProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcEndpointId
@Stability(Stable) public CfnVpcIngressConnection.IngressVpcConfigurationProperty.Builder vpcEndpointId(String vpcEndpointId) - Parameters:
vpcEndpointId- The ID of the VPC endpoint that your App Runner service connects to. This parameter is required.- Returns:
this
-
vpcId
@Stability(Stable) public CfnVpcIngressConnection.IngressVpcConfigurationProperty.Builder vpcId(String vpcId) Sets the value ofCfnVpcIngressConnection.IngressVpcConfigurationProperty.getVpcId()- Parameters:
vpcId- The ID of the VPC that is used for the VPC endpoint. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcIngressConnection.IngressVpcConfigurationProperty>- Returns:
- a new instance of
CfnVpcIngressConnection.IngressVpcConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-