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 Summary
Modifier and TypeMethodDescriptionbuild()static CfnNetworkAcl.BuilderThe tags for the network ACL.The ID of the VPC for the network ACL.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnNetworkAcl.Builder.
-
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
The tags for the network ACL.- Parameters:
tags- The tags for the network ACL. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkAcl>- Returns:
- a newly built instance of
CfnNetworkAcl.
-