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
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- 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
-
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
-
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
-
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
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcLink>- Returns:
- a newly built instance of
CfnVpcLink.
-