Class CfnVpcLink.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnVpcLink.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcLink>
- Enclosing class:
CfnVpcLink
@Stability(Stable)
public static final class CfnVpcLink.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcLink>
A fluent builder for
CfnVpcLink.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnVpcLink.BuilderThe name of the VPC link.securityGroupIds(List<String> securityGroupIds) A list of security group IDs for the VPC link.A list of subnet IDs to include in the VPC link.The collection of tags.
-
Method Details
-
create
@Stability(Stable) public static CfnVpcLink.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVpcLink.Builder.
-
name
The name of the VPC link.- Parameters:
name- The name of the VPC link. This parameter is required.- Returns:
this- See Also:
-
subnetIds
A list of subnet IDs to include in the VPC link.- Parameters:
subnetIds- A list of subnet IDs to include in the VPC link. This parameter is required.- Returns:
this- See Also:
-
securityGroupIds
A list of security group IDs for the VPC link.- Parameters:
securityGroupIds- A list of security group IDs for the VPC link. This parameter is required.- Returns:
this- See Also:
-
tags
The collection of tags.Each tag element is associated with a given resource.
- Parameters:
tags- The collection of tags. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcLink>- Returns:
- a newly built instance of
CfnVpcLink.
-