@Stability(value=Stable) public static final class NetworkAclProps.Builder extends Object implements software.amazon.jsii.Builder<NetworkAclProps>
NetworkAclProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NetworkAclProps |
build()
Builds the configured instance.
|
NetworkAclProps.Builder |
networkAclName(String networkAclName)
Sets the value of
NetworkAclProps.getNetworkAclName() |
NetworkAclProps.Builder |
subnetSelection(SubnetSelection subnetSelection)
Sets the value of
NetworkAclProps.getSubnetSelection() |
NetworkAclProps.Builder |
vpc(IVpc vpc)
Sets the value of
NetworkAclProps.getVpc() |
@Stability(value=Stable) public NetworkAclProps.Builder vpc(IVpc vpc)
NetworkAclProps.getVpc()vpc - The VPC in which to create the NetworkACL. This parameter is required.this@Stability(value=Stable) public NetworkAclProps.Builder networkAclName(String networkAclName)
NetworkAclProps.getNetworkAclName()networkAclName - The name of the NetworkAcl.
It is not recommended to use an explicit name.this@Stability(value=Stable) public NetworkAclProps.Builder subnetSelection(SubnetSelection subnetSelection)
NetworkAclProps.getSubnetSelection()subnetSelection - Subnets in the given VPC to associate the ACL with.
More subnets can always be added later by calling
associateWithSubnets().this@Stability(value=Stable) public NetworkAclProps build()
build in interface software.amazon.jsii.Builder<NetworkAclProps>NetworkAclPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.