Class CfnNetworkAclProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkAclProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkAclProps>
- Enclosing interface:
CfnNetworkAclProps
@Stability(Stable)
public static final class CfnNetworkAclProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkAclProps>
A builder for
CfnNetworkAclProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnNetworkAclProps.getTags()
Sets the value ofCfnNetworkAclProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcId
Sets the value ofCfnNetworkAclProps.getVpcId()
- Parameters:
vpcId
- The ID of the VPC for the network ACL. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnNetworkAclProps.getTags()
- Parameters:
tags
- The tags for the network ACL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNetworkAclProps>
- Returns:
- a new instance of
CfnNetworkAclProps
- Throws:
NullPointerException
- if any required attribute was not provided
-