Class CfnSubnetNetworkAclAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnSubnetNetworkAclAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetNetworkAclAssociation>
- Enclosing class:
CfnSubnetNetworkAclAssociation
@Stability(Stable)
public static final class CfnSubnetNetworkAclAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetNetworkAclAssociation>
A fluent builder for
CfnSubnetNetworkAclAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
networkAclId
(String networkAclId) The ID of the network ACL.The ID of the subnet.
-
Method Details
-
create
@Stability(Stable) public static CfnSubnetNetworkAclAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSubnetNetworkAclAssociation.Builder
.
-
networkAclId
The ID of the network ACL.- Parameters:
networkAclId
- The ID of the network ACL. This parameter is required.- Returns:
this
- See Also:
-
subnetId
The ID of the subnet.- Parameters:
subnetId
- The ID of the subnet. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSubnetNetworkAclAssociation>
- Returns:
- a newly built instance of
CfnSubnetNetworkAclAssociation
.
-