Class CfnVpcLinkProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnVpcLinkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcLinkProps>
- Enclosing interface:
- CfnVpcLinkProps
@Stability(Stable)
public static final class CfnVpcLinkProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcLinkProps>
A builder for
CfnVpcLinkProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVpcLinkProps.getName()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnVpcLinkProps.getSecurityGroupIds()Sets the value ofCfnVpcLinkProps.getSubnetIds()Sets the value ofCfnVpcLinkProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnVpcLinkProps.getName()- Parameters:
name- The name of the VPC link. This parameter is required.- Returns:
this
-
subnetIds
Sets the value ofCfnVpcLinkProps.getSubnetIds()- Parameters:
subnetIds- A list of subnet IDs to include in the VPC link. This parameter is required.- Returns:
this
-
securityGroupIds
Sets the value ofCfnVpcLinkProps.getSecurityGroupIds()- Parameters:
securityGroupIds- A list of security group IDs for the VPC link.- Returns:
this
-
tags
Sets the value ofCfnVpcLinkProps.getTags()- Parameters:
tags- The collection of tags. Each tag element is associated with a given resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcLinkProps>- Returns:
- a new instance of
CfnVpcLinkProps - Throws:
NullPointerException- if any required attribute was not provided
-