@Stability(value=Stable) public static final class CommonNetworkAclEntryOptions.Builder extends Object implements software.amazon.jsii.Builder<CommonNetworkAclEntryOptions>
CommonNetworkAclEntryOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CommonNetworkAclEntryOptions |
build()
Builds the configured instance.
|
CommonNetworkAclEntryOptions.Builder |
cidr(AclCidr cidr)
Sets the value of
CommonNetworkAclEntryOptions.getCidr() |
CommonNetworkAclEntryOptions.Builder |
direction(TrafficDirection direction)
Sets the value of
CommonNetworkAclEntryOptions.getDirection() |
CommonNetworkAclEntryOptions.Builder |
networkAclEntryName(String networkAclEntryName)
Sets the value of
CommonNetworkAclEntryOptions.getNetworkAclEntryName() |
CommonNetworkAclEntryOptions.Builder |
ruleAction(Action ruleAction)
Sets the value of
CommonNetworkAclEntryOptions.getRuleAction() |
CommonNetworkAclEntryOptions.Builder |
ruleNumber(Number ruleNumber)
Sets the value of
CommonNetworkAclEntryOptions.getRuleNumber() |
CommonNetworkAclEntryOptions.Builder |
traffic(AclTraffic traffic)
Sets the value of
CommonNetworkAclEntryOptions.getTraffic() |
@Stability(value=Stable) public CommonNetworkAclEntryOptions.Builder cidr(AclCidr cidr)
CommonNetworkAclEntryOptions.getCidr()cidr - The CIDR range to allow or deny. This parameter is required.this@Stability(value=Stable) public CommonNetworkAclEntryOptions.Builder ruleNumber(Number ruleNumber)
CommonNetworkAclEntryOptions.getRuleNumber()ruleNumber - Rule number to assign to the entry, such as 100. This parameter is required.
ACL entries are processed in ascending order by rule number.
Entries can't use the same rule number unless one is an egress rule and the other is an ingress rule.this@Stability(value=Stable) public CommonNetworkAclEntryOptions.Builder traffic(AclTraffic traffic)
CommonNetworkAclEntryOptions.getTraffic()traffic - What kind of traffic this ACL rule applies to. This parameter is required.this@Stability(value=Stable) public CommonNetworkAclEntryOptions.Builder direction(TrafficDirection direction)
CommonNetworkAclEntryOptions.getDirection()direction - Traffic direction, with respect to the subnet, this rule applies to.this@Stability(value=Stable) public CommonNetworkAclEntryOptions.Builder networkAclEntryName(String networkAclEntryName)
CommonNetworkAclEntryOptions.getNetworkAclEntryName()networkAclEntryName - The name of the NetworkAclEntry.
It is not recommended to use an explicit group name.this@Stability(value=Stable) public CommonNetworkAclEntryOptions.Builder ruleAction(Action ruleAction)
CommonNetworkAclEntryOptions.getRuleAction()ruleAction - Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".
Any traffic that is not explicitly allowed is automatically denied in a custom
ACL, all traffic is automatically allowed in a default ACL.this@Stability(value=Stable) public CommonNetworkAclEntryOptions build()
build in interface software.amazon.jsii.Builder<CommonNetworkAclEntryOptions>CommonNetworkAclEntryOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.