Class VpcIngressConnectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.alpha.VpcIngressConnectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcIngressConnectionProps>
- Enclosing interface:
VpcIngressConnectionProps
@Stability(Experimental)
public static final class VpcIngressConnectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<VpcIngressConnectionProps>
A builder for
VpcIngressConnectionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.interfaceVpcEndpoint(IInterfaceVpcEndpoint interfaceVpcEndpoint) Sets the value ofVpcIngressConnectionProps.getInterfaceVpcEndpoint()Sets the value ofVpcIngressConnectionProps.getService()Sets the value ofVpcIngressConnectionProps.getVpc()vpcIngressConnectionName(String vpcIngressConnectionName) Sets the value ofVpcIngressConnectionProps.getVpcIngressConnectionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interfaceVpcEndpoint
@Stability(Experimental) public VpcIngressConnectionProps.Builder interfaceVpcEndpoint(IInterfaceVpcEndpoint interfaceVpcEndpoint) Sets the value ofVpcIngressConnectionProps.getInterfaceVpcEndpoint()- Parameters:
interfaceVpcEndpoint- The VPC Interface Endpoint for the VPC Ingress Connection. This parameter is required.- Returns:
this
-
service
Sets the value ofVpcIngressConnectionProps.getService()- Parameters:
service- The service to connect. This parameter is required.- Returns:
this
-
vpc
Sets the value ofVpcIngressConnectionProps.getVpc()- Parameters:
vpc- The VPC for the VPC Ingress Connection. This parameter is required.- Returns:
this
-
vpcIngressConnectionName
@Stability(Experimental) public VpcIngressConnectionProps.Builder vpcIngressConnectionName(String vpcIngressConnectionName) Sets the value ofVpcIngressConnectionProps.getVpcIngressConnectionName()- Parameters:
vpcIngressConnectionName- The name for the VPC Ingress Connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcIngressConnectionProps>- Returns:
- a new instance of
VpcIngressConnectionProps - Throws:
NullPointerException- if any required attribute was not provided
-