Class CfnVpcIngressConnectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.CfnVpcIngressConnectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcIngressConnectionProps>
- Enclosing interface:
CfnVpcIngressConnectionProps
@Stability(Stable)
public static final class CfnVpcIngressConnectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcIngressConnectionProps>
A builder for
CfnVpcIngressConnectionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ingressVpcConfiguration(IResolvable ingressVpcConfiguration) Sets the value ofCfnVpcIngressConnectionProps.getIngressVpcConfiguration()ingressVpcConfiguration(CfnVpcIngressConnection.IngressVpcConfigurationProperty ingressVpcConfiguration) Sets the value ofCfnVpcIngressConnectionProps.getIngressVpcConfiguration()serviceArn(String serviceArn) Sets the value ofCfnVpcIngressConnectionProps.getServiceArn()Sets the value ofCfnVpcIngressConnectionProps.getTags()vpcIngressConnectionName(String vpcIngressConnectionName) Sets the value ofCfnVpcIngressConnectionProps.getVpcIngressConnectionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ingressVpcConfiguration
@Stability(Stable) public CfnVpcIngressConnectionProps.Builder ingressVpcConfiguration(IResolvable ingressVpcConfiguration) Sets the value ofCfnVpcIngressConnectionProps.getIngressVpcConfiguration()- Parameters:
ingressVpcConfiguration- Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource. This parameter is required.- Returns:
this
-
ingressVpcConfiguration
@Stability(Stable) public CfnVpcIngressConnectionProps.Builder ingressVpcConfiguration(CfnVpcIngressConnection.IngressVpcConfigurationProperty ingressVpcConfiguration) Sets the value ofCfnVpcIngressConnectionProps.getIngressVpcConfiguration()- Parameters:
ingressVpcConfiguration- Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource. This parameter is required.- Returns:
this
-
serviceArn
Sets the value ofCfnVpcIngressConnectionProps.getServiceArn()- Parameters:
serviceArn- The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnVpcIngressConnectionProps.getTags()- Parameters:
tags- An optional list of metadata items that you can associate with the VPC Ingress Connection resource. A tag is a key-value pair.- Returns:
this
-
vpcIngressConnectionName
@Stability(Stable) public CfnVpcIngressConnectionProps.Builder vpcIngressConnectionName(String vpcIngressConnectionName) Sets the value ofCfnVpcIngressConnectionProps.getVpcIngressConnectionName()- Parameters:
vpcIngressConnectionName- The customer-provided VPC Ingress Connection name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcIngressConnectionProps>- Returns:
- a new instance of
CfnVpcIngressConnectionProps - Throws:
NullPointerException- if any required attribute was not provided
-