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 Details

    • create

      @Stability(Stable) public static CfnVpcLink.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnVpcLink.Builder.
    • name

      @Stability(Stable) public CfnVpcLink.Builder name(String name)
      The name of the VPC link.

      Parameters:
      name - The name of the VPC link. This parameter is required.
      Returns:
      this
    • subnetIds

      @Stability(Stable) public CfnVpcLink.Builder subnetIds(List<String> 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

      @Stability(Stable) public CfnVpcLink.Builder securityGroupIds(List<String> 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

      @Stability(Stable) public CfnVpcLink.Builder tags(Map<String,String> 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

      @Stability(Stable) public CfnVpcLink build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnVpcLink>
      Returns:
      a newly built instance of CfnVpcLink.