Class CfnNetworkAcl.Builder

java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkAcl.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkAcl>
Enclosing class:
CfnNetworkAcl

@Stability(Stable) public static final class CfnNetworkAcl.Builder extends Object implements software.amazon.jsii.Builder<CfnNetworkAcl>
A fluent builder for CfnNetworkAcl.
  • Method Details

    • create

      @Stability(Stable) public static CfnNetworkAcl.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 CfnNetworkAcl.Builder.
    • vpcId

      @Stability(Stable) public CfnNetworkAcl.Builder vpcId(String vpcId)
      The ID of the VPC for the network ACL.

      Parameters:
      vpcId - The ID of the VPC for the network ACL. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnNetworkAcl.Builder tags(List<? extends CfnTag> tags)
      The tags for the network ACL.

      Parameters:
      tags - The tags for the network ACL. This parameter is required.
      Returns:
      this
    • build

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